You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

289 lines
7.8 KiB

11 years ago
12 years ago
11 years ago
11 years ago
12 years ago
  1. from .academicearth import AcademicEarthCourseIE
  2. from .addanime import AddAnimeIE
  3. from .anitube import AnitubeIE
  4. from .aparat import AparatIE
  5. from .appletrailers import AppleTrailersIE
  6. from .archiveorg import ArchiveOrgIE
  7. from .ard import ARDIE
  8. from .arte import (
  9. ArteTvIE,
  10. ArteTVPlus7IE,
  11. ArteTVCreativeIE,
  12. ArteTVFutureIE,
  13. ArteTVDDCIE,
  14. )
  15. from .auengine import AUEngineIE
  16. from .bambuser import BambuserIE, BambuserChannelIE
  17. from .bandcamp import BandcampIE, BandcampAlbumIE
  18. from .blinkx import BlinkxIE
  19. from .bliptv import BlipTVIE, BlipTVUserIE
  20. from .bloomberg import BloombergIE
  21. from .breakcom import BreakIE
  22. from .brightcove import BrightcoveIE
  23. from .c56 import C56IE
  24. from .canalplus import CanalplusIE
  25. from .canalc2 import Canalc2IE
  26. from .cbs import CBSIE
  27. from .channel9 import Channel9IE
  28. from .cinemassacre import CinemassacreIE
  29. from .clipfish import ClipfishIE
  30. from .cliphunter import CliphunterIE
  31. from .clipsyndicate import ClipsyndicateIE
  32. from .cmt import CMTIE
  33. from .cnn import CNNIE
  34. from .collegehumor import CollegeHumorIE
  35. from .comedycentral import ComedyCentralIE, ComedyCentralShowsIE
  36. from .condenast import CondeNastIE
  37. from .criterion import CriterionIE
  38. from .crunchyroll import CrunchyrollIE
  39. from .cspan import CSpanIE
  40. from .d8 import D8IE
  41. from .dailymotion import (
  42. DailymotionIE,
  43. DailymotionPlaylistIE,
  44. DailymotionUserIE,
  45. )
  46. from .daum import DaumIE
  47. from .depositfiles import DepositFilesIE
  48. from .dotsub import DotsubIE
  49. from .dreisat import DreiSatIE
  50. from .defense import DefenseGouvFrIE
  51. from .discovery import DiscoveryIE
  52. from .dropbox import DropboxIE
  53. from .ebaumsworld import EbaumsWorldIE
  54. from .ehow import EHowIE
  55. from .eighttracks import EightTracksIE
  56. from .eitb import EitbIE
  57. from .escapist import EscapistIE
  58. from .everyonesmixtape import EveryonesMixtapeIE
  59. from .exfm import ExfmIE
  60. from .extremetube import ExtremeTubeIE
  61. from .facebook import FacebookIE
  62. from .faz import FazIE
  63. from .fktv import (
  64. FKTVIE,
  65. FKTVPosteckeIE,
  66. )
  67. from .flickr import FlickrIE
  68. from .franceinter import FranceInterIE
  69. from .francetv import (
  70. PluzzIE,
  71. FranceTvInfoIE,
  72. FranceTVIE,
  73. GenerationQuoiIE,
  74. CultureboxIE,
  75. )
  76. from .freesound import FreesoundIE
  77. from .freespeech import FreespeechIE
  78. from .funnyordie import FunnyOrDieIE
  79. from .gamekings import GamekingsIE
  80. from .gamespot import GameSpotIE
  81. from .gametrailers import GametrailersIE
  82. from .generic import GenericIE
  83. from .googleplus import GooglePlusIE
  84. from .googlesearch import GoogleSearchIE
  85. from .hark import HarkIE
  86. from .hotnewhiphop import HotNewHipHopIE
  87. from .howcast import HowcastIE
  88. from .huffpost import HuffPostIE
  89. from .hypem import HypemIE
  90. from .ign import IGNIE, OneUPIE
  91. from .imdb import (
  92. ImdbIE,
  93. ImdbListIE
  94. )
  95. from .ina import InaIE
  96. from .infoq import InfoQIE
  97. from .instagram import InstagramIE
  98. from .internetvideoarchive import InternetVideoArchiveIE
  99. from .iprima import IPrimaIE
  100. from .ivi import (
  101. IviIE,
  102. IviCompilationIE
  103. )
  104. from .jeuxvideo import JeuxVideoIE
  105. from .jukebox import JukeboxIE
  106. from .justintv import JustinTVIE
  107. from .jpopsukitv import JpopsukiIE
  108. from .kankan import KankanIE
  109. from .keezmovies import KeezMoviesIE
  110. from .khanacademy import KhanAcademyIE
  111. from .kickstarter import KickStarterIE
  112. from .keek import KeekIE
  113. from .la7 import LA7IE
  114. from .lifenews import LifeNewsIE
  115. from .liveleak import LiveLeakIE
  116. from .livestream import LivestreamIE, LivestreamOriginalIE
  117. from .lynda import (
  118. LyndaIE,
  119. LyndaCourseIE
  120. )
  121. from .macgamestore import MacGameStoreIE
  122. from .malemotion import MalemotionIE
  123. from .mdr import MDRIE
  124. from .metacafe import MetacafeIE
  125. from .metacritic import MetacriticIE
  126. from .mit import TechTVMITIE, MITIE
  127. from .mixcloud import MixcloudIE
  128. from .mpora import MporaIE
  129. from .mofosex import MofosexIE
  130. from .mtv import (
  131. MTVIE,
  132. MTVIggyIE,
  133. )
  134. from .muzu import MuzuTVIE
  135. from .myspace import MySpaceIE
  136. from .myspass import MySpassIE
  137. from .myvideo import MyVideoIE
  138. from .naver import NaverIE
  139. from .nba import NBAIE
  140. from .nbc import NBCNewsIE
  141. from .ndtv import NDTVIE
  142. from .newgrounds import NewgroundsIE
  143. from .nhl import NHLIE, NHLVideocenterIE
  144. from .niconico import NiconicoIE
  145. from .ninegag import NineGagIE
  146. from .normalboots import NormalbootsIE
  147. from .novamov import NovamovIE
  148. from .nowness import NownessIE
  149. from .nowvideo import NowVideoIE
  150. from .ooyala import OoyalaIE
  151. from .orf import ORFIE
  152. from .pbs import PBSIE
  153. from .photobucket import PhotobucketIE
  154. from .podomatic import PodomaticIE
  155. from .pornhd import PornHdIE
  156. from .pornhub import PornHubIE
  157. from .pornotube import PornotubeIE
  158. from .pyvideo import PyvideoIE
  159. from .radiofrance import RadioFranceIE
  160. from .rbmaradio import RBMARadioIE
  161. from .redtube import RedTubeIE
  162. from .ringtv import RingTVIE
  163. from .ro220 import Ro220IE
  164. from .rottentomatoes import RottenTomatoesIE
  165. from .roxwel import RoxwelIE
  166. from .rtlnow import RTLnowIE
  167. from .rutube import (
  168. RutubeIE,
  169. RutubeChannelIE,
  170. RutubeMovieIE,
  171. RutubePersonIE,
  172. )
  173. from .servingsys import ServingSysIE
  174. from .sina import SinaIE
  175. from .slashdot import SlashdotIE
  176. from .slideshare import SlideshareIE
  177. from .smotri import (
  178. SmotriIE,
  179. SmotriCommunityIE,
  180. SmotriUserIE,
  181. SmotriBroadcastIE,
  182. )
  183. from .sohu import SohuIE
  184. from .soundcloud import SoundcloudIE, SoundcloudSetIE, SoundcloudUserIE
  185. from .southparkstudios import (
  186. SouthParkStudiosIE,
  187. SouthparkDeIE,
  188. )
  189. from .space import SpaceIE
  190. from .spankwire import SpankwireIE
  191. from .spiegel import SpiegelIE
  192. from .spike import SpikeIE
  193. from .stanfordoc import StanfordOpenClassroomIE
  194. from .statigram import StatigramIE
  195. from .steam import SteamIE
  196. from .streamcloud import StreamcloudIE
  197. from .sztvhu import SztvHuIE
  198. from .teamcoco import TeamcocoIE
  199. from .techtalks import TechTalksIE
  200. from .ted import TEDIE
  201. from .tf1 import TF1IE
  202. from .theplatform import ThePlatformIE
  203. from .thisav import ThisAVIE
  204. from .tinypic import TinyPicIE
  205. from .toutv import TouTvIE
  206. from .traileraddict import TrailerAddictIE
  207. from .trilulilu import TriluliluIE
  208. from .tube8 import Tube8IE
  209. from .tudou import TudouIE
  210. from .tumblr import TumblrIE
  211. from .tutv import TutvIE
  212. from .tvp import TvpIE
  213. from .unistra import UnistraIE
  214. from .ustream import UstreamIE, UstreamChannelIE
  215. from .vbox7 import Vbox7IE
  216. from .veehd import VeeHDIE
  217. from .veoh import VeohIE
  218. from .vevo import VevoIE
  219. from .vice import ViceIE
  220. from .viddler import ViddlerIE
  221. from .videodetective import VideoDetectiveIE
  222. from .videofyme import VideofyMeIE
  223. from .videopremium import VideoPremiumIE
  224. from .vimeo import (
  225. VimeoIE,
  226. VimeoChannelIE,
  227. VimeoUserIE,
  228. VimeoAlbumIE,
  229. VimeoGroupsIE,
  230. VimeoReviewIE,
  231. )
  232. from .vine import VineIE
  233. from .viki import VikiIE
  234. from .vk import VKIE
  235. from .vube import VubeIE
  236. from .wat import WatIE
  237. from .weibo import WeiboIE
  238. from .wimp import WimpIE
  239. from .wistia import WistiaIE
  240. from .worldstarhiphop import WorldStarHipHopIE
  241. from .xhamster import XHamsterIE
  242. from .xnxx import XNXXIE
  243. from .xvideos import XVideosIE
  244. from .xtube import XTubeIE
  245. from .yahoo import (
  246. YahooIE,
  247. YahooNewsIE,
  248. YahooSearchIE,
  249. )
  250. from .youjizz import YouJizzIE
  251. from .youku import YoukuIE
  252. from .youporn import YouPornIE
  253. from .youtube import (
  254. YoutubeIE,
  255. YoutubePlaylistIE,
  256. YoutubeSearchIE,
  257. YoutubeSearchDateIE,
  258. YoutubeUserIE,
  259. YoutubeChannelIE,
  260. YoutubeShowIE,
  261. YoutubeSubscriptionsIE,
  262. YoutubeRecommendedIE,
  263. YoutubeTruncatedURLIE,
  264. YoutubeWatchLaterIE,
  265. YoutubeFavouritesIE,
  266. YoutubeHistoryIE,
  267. YoutubeTopListIE,
  268. )
  269. from .zdf import ZDFIE
  270. _ALL_CLASSES = [
  271. klass
  272. for name, klass in globals().items()
  273. if name.endswith('IE') and name != 'GenericIE'
  274. ]
  275. _ALL_CLASSES.append(GenericIE)
  276. def gen_extractors():
  277. """ Return a list of an instance of every supported extractor.
  278. The order does matter; the first extractor matched is the one handling the URL.
  279. """
  280. return [klass() for klass in _ALL_CLASSES]
  281. def get_info_extractor(ie_name):
  282. """Returns the info extractor class with the given ie_name"""
  283. return globals()[ie_name+'IE']