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.

449 lines
12 KiB

11 years ago
11 years ago
12 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
12 years ago
11 years ago
  1. from .abc import ABCIE
  2. from .academicearth import AcademicEarthCourseIE
  3. from .addanime import AddAnimeIE
  4. from .adultswim import AdultSwimIE
  5. from .aftonbladet import AftonbladetIE
  6. from .anitube import AnitubeIE
  7. from .aol import AolIE
  8. from .allocine import AllocineIE
  9. from .aparat import AparatIE
  10. from .appletrailers import AppleTrailersIE
  11. from .archiveorg import ArchiveOrgIE
  12. from .ard import ARDIE
  13. from .arte import (
  14. ArteTvIE,
  15. ArteTVPlus7IE,
  16. ArteTVCreativeIE,
  17. ArteTVConcertIE,
  18. ArteTVFutureIE,
  19. ArteTVDDCIE,
  20. ArteTVEmbedIE,
  21. )
  22. from .auengine import AUEngineIE
  23. from .bambuser import BambuserIE, BambuserChannelIE
  24. from .bandcamp import BandcampIE, BandcampAlbumIE
  25. from .bbccouk import BBCCoUkIE
  26. from .bilibili import BiliBiliIE
  27. from .blinkx import BlinkxIE
  28. from .bliptv import BlipTVIE, BlipTVUserIE
  29. from .bloomberg import BloombergIE
  30. from .br import BRIE
  31. from .breakcom import BreakIE
  32. from .brightcove import BrightcoveIE
  33. from .byutv import BYUtvIE
  34. from .c56 import C56IE
  35. from .canal13cl import Canal13clIE
  36. from .canalplus import CanalplusIE
  37. from .canalc2 import Canalc2IE
  38. from .cbs import CBSIE
  39. from .cbsnews import CBSNewsIE
  40. from .ceskatelevize import CeskaTelevizeIE
  41. from .channel9 import Channel9IE
  42. from .chilloutzone import ChilloutzoneIE
  43. from .cinemassacre import CinemassacreIE
  44. from .clipfish import ClipfishIE
  45. from .cliphunter import CliphunterIE
  46. from .clipsyndicate import ClipsyndicateIE
  47. from .clubic import ClubicIE
  48. from .cmt import CMTIE
  49. from .cnet import CNETIE
  50. from .cnn import (
  51. CNNIE,
  52. CNNBlogsIE,
  53. )
  54. from .collegehumor import CollegeHumorIE
  55. from .comedycentral import ComedyCentralIE, ComedyCentralShowsIE
  56. from .condenast import CondeNastIE
  57. from .cracked import CrackedIE
  58. from .criterion import CriterionIE
  59. from .crunchyroll import CrunchyrollIE
  60. from .cspan import CSpanIE
  61. from .d8 import D8IE
  62. from .dailymotion import (
  63. DailymotionIE,
  64. DailymotionPlaylistIE,
  65. DailymotionUserIE,
  66. )
  67. from .daum import DaumIE
  68. from .dfb import DFBIE
  69. from .dotsub import DotsubIE
  70. from .dreisat import DreiSatIE
  71. from .drtv import DRTVIE
  72. from .defense import DefenseGouvFrIE
  73. from .discovery import DiscoveryIE
  74. from .divxstage import DivxStageIE
  75. from .dropbox import DropboxIE
  76. from .ebaumsworld import EbaumsWorldIE
  77. from .ehow import EHowIE
  78. from .eighttracks import EightTracksIE
  79. from .eitb import EitbIE
  80. from .ellentv import (
  81. EllenTVIE,
  82. EllenTVClipsIE,
  83. )
  84. from .elpais import ElPaisIE
  85. from .empflix import EmpflixIE
  86. from .engadget import EngadgetIE
  87. from .escapist import EscapistIE
  88. from .everyonesmixtape import EveryonesMixtapeIE
  89. from .exfm import ExfmIE
  90. from .extremetube import ExtremeTubeIE
  91. from .facebook import FacebookIE
  92. from .faz import FazIE
  93. from .fc2 import FC2IE
  94. from .firedrive import FiredriveIE
  95. from .firstpost import FirstpostIE
  96. from .firsttv import FirstTVIE
  97. from .fivemin import FiveMinIE
  98. from .fktv import (
  99. FKTVIE,
  100. FKTVPosteckeIE,
  101. )
  102. from .flickr import FlickrIE
  103. from .fourtube import FourTubeIE
  104. from .franceculture import FranceCultureIE
  105. from .franceinter import FranceInterIE
  106. from .francetv import (
  107. PluzzIE,
  108. FranceTvInfoIE,
  109. FranceTVIE,
  110. GenerationQuoiIE,
  111. CultureboxIE,
  112. )
  113. from .freesound import FreesoundIE
  114. from .freespeech import FreespeechIE
  115. from .funnyordie import FunnyOrDieIE
  116. from .gamekings import GamekingsIE
  117. from .gameone import GameOneIE
  118. from .gamespot import GameSpotIE
  119. from .gamestar import GameStarIE
  120. from .gametrailers import GametrailersIE
  121. from .gdcvault import GDCVaultIE
  122. from .generic import GenericIE
  123. from .godtube import GodTubeIE
  124. from .googleplus import GooglePlusIE
  125. from .googlesearch import GoogleSearchIE
  126. from .gorillavid import GorillaVidIE
  127. from .goshgay import GoshgayIE
  128. from .hark import HarkIE
  129. from .helsinki import HelsinkiIE
  130. from .hentaistigma import HentaiStigmaIE
  131. from .hotnewhiphop import HotNewHipHopIE
  132. from .howcast import HowcastIE
  133. from .howstuffworks import HowStuffWorksIE
  134. from .huffpost import HuffPostIE
  135. from .hypem import HypemIE
  136. from .iconosquare import IconosquareIE
  137. from .ign import IGNIE, OneUPIE
  138. from .imdb import (
  139. ImdbIE,
  140. ImdbListIE
  141. )
  142. from .ina import InaIE
  143. from .infoq import InfoQIE
  144. from .instagram import InstagramIE, InstagramUserIE
  145. from .internetvideoarchive import InternetVideoArchiveIE
  146. from .iprima import IPrimaIE
  147. from .ivi import (
  148. IviIE,
  149. IviCompilationIE
  150. )
  151. from .izlesene import IzleseneIE
  152. from .jadorecettepub import JadoreCettePubIE
  153. from .jeuxvideo import JeuxVideoIE
  154. from .jove import JoveIE
  155. from .jukebox import JukeboxIE
  156. from .justintv import JustinTVIE
  157. from .jpopsukitv import JpopsukiIE
  158. from .kankan import KankanIE
  159. from .keezmovies import KeezMoviesIE
  160. from .khanacademy import KhanAcademyIE
  161. from .kickstarter import KickStarterIE
  162. from .keek import KeekIE
  163. from .kontrtube import KontrTubeIE
  164. from .krasview import KrasViewIE
  165. from .ku6 import Ku6IE
  166. from .la7 import LA7IE
  167. from .lifenews import LifeNewsIE
  168. from .liveleak import LiveLeakIE
  169. from .livestream import (
  170. LivestreamIE,
  171. LivestreamOriginalIE,
  172. LivestreamShortenerIE,
  173. )
  174. from .lynda import (
  175. LyndaIE,
  176. LyndaCourseIE
  177. )
  178. from .m6 import M6IE
  179. from .macgamestore import MacGameStoreIE
  180. from .mailru import MailRuIE
  181. from .malemotion import MalemotionIE
  182. from .mdr import MDRIE
  183. from .metacafe import MetacafeIE
  184. from .metacritic import MetacriticIE
  185. from .mit import TechTVMITIE, MITIE, OCWMITIE
  186. from .mitele import MiTeleIE
  187. from .mixcloud import MixcloudIE
  188. from .mlb import MLBIE
  189. from .mpora import MporaIE
  190. from .mofosex import MofosexIE
  191. from .mojvideo import MojvideoIE
  192. from .mooshare import MooshareIE
  193. from .morningstar import MorningstarIE
  194. from .motherless import MotherlessIE
  195. from .motorsport import MotorsportIE
  196. from .moviezine import MoviezineIE
  197. from .movshare import MovShareIE
  198. from .mtv import (
  199. MTVIE,
  200. MTVServicesEmbeddedIE,
  201. MTVIggyIE,
  202. )
  203. from .musicplayon import MusicPlayOnIE
  204. from .muzu import MuzuTVIE
  205. from .myspace import MySpaceIE
  206. from .myspass import MySpassIE
  207. from .myvideo import MyVideoIE
  208. from .naver import NaverIE
  209. from .nba import NBAIE
  210. from .nbc import (
  211. NBCIE,
  212. NBCNewsIE,
  213. )
  214. from .ndr import NDRIE
  215. from .ndtv import NDTVIE
  216. from .newgrounds import NewgroundsIE
  217. from .newstube import NewstubeIE
  218. from .nfb import NFBIE
  219. from .nhl import NHLIE, NHLVideocenterIE
  220. from .niconico import NiconicoIE
  221. from .ninegag import NineGagIE
  222. from .noco import NocoIE
  223. from .normalboots import NormalbootsIE
  224. from .novamov import NovaMovIE
  225. from .nowness import NownessIE
  226. from .nowvideo import NowVideoIE
  227. from .npo import NPOIE
  228. from .nrk import (
  229. NRKIE,
  230. NRKTVIE,
  231. )
  232. from .ntv import NTVIE
  233. from .nytimes import NYTimesIE
  234. from .nuvid import NuvidIE
  235. from .ooyala import OoyalaIE
  236. from .orf import (
  237. ORFTVthekIE,
  238. ORFOE1IE,
  239. ORFFM4IE,
  240. )
  241. from .parliamentliveuk import ParliamentLiveUKIE
  242. from .pbs import PBSIE
  243. from .photobucket import PhotobucketIE
  244. from .playvid import PlayvidIE
  245. from .podomatic import PodomaticIE
  246. from .pornhd import PornHdIE
  247. from .pornhub import PornHubIE
  248. from .pornotube import PornotubeIE
  249. from .prosiebensat1 import ProSiebenSat1IE
  250. from .pyvideo import PyvideoIE
  251. from .radiofrance import RadioFranceIE
  252. from .rai import RaiIE
  253. from .rbmaradio import RBMARadioIE
  254. from .redtube import RedTubeIE
  255. from .reverbnation import ReverbNationIE
  256. from .ringtv import RingTVIE
  257. from .ro220 import Ro220IE
  258. from .rottentomatoes import RottenTomatoesIE
  259. from .roxwel import RoxwelIE
  260. from .rtbf import RTBFIE
  261. from .rtlnl import RtlXlIE
  262. from .rtlnow import RTLnowIE
  263. from .rts import RTSIE
  264. from .rtve import RTVEALaCartaIE
  265. from .ruhd import RUHDIE
  266. from .rutube import (
  267. RutubeIE,
  268. RutubeChannelIE,
  269. RutubeMovieIE,
  270. RutubePersonIE,
  271. )
  272. from .rutv import RUTVIE
  273. from .sapo import SapoIE
  274. from .savefrom import SaveFromIE
  275. from .scivee import SciVeeIE
  276. from .screencast import ScreencastIE
  277. from .servingsys import ServingSysIE
  278. from .shared import SharedIE
  279. from .sina import SinaIE
  280. from .slideshare import SlideshareIE
  281. from .slutload import SlutloadIE
  282. from .smotri import (
  283. SmotriIE,
  284. SmotriCommunityIE,
  285. SmotriUserIE,
  286. SmotriBroadcastIE,
  287. )
  288. from .snotr import SnotrIE
  289. from .sockshare import SockshareIE
  290. from .sohu import SohuIE
  291. from .soundcloud import (
  292. SoundcloudIE,
  293. SoundcloudSetIE,
  294. SoundcloudUserIE,
  295. SoundcloudPlaylistIE
  296. )
  297. from .soundgasm import SoundgasmIE
  298. from .southpark import (
  299. SouthParkIE,
  300. SouthparkDeIE,
  301. )
  302. from .space import SpaceIE
  303. from .spankwire import SpankwireIE
  304. from .spiegel import SpiegelIE
  305. from .spiegeltv import SpiegeltvIE
  306. from .spike import SpikeIE
  307. from .stanfordoc import StanfordOpenClassroomIE
  308. from .steam import SteamIE
  309. from .streamcloud import StreamcloudIE
  310. from .streamcz import StreamCZIE
  311. from .swrmediathek import SWRMediathekIE
  312. from .syfy import SyfyIE
  313. from .sztvhu import SztvHuIE
  314. from .tagesschau import TagesschauIE
  315. from .teachertube import (
  316. TeacherTubeIE,
  317. TeacherTubeUserIE,
  318. )
  319. from .teachingchannel import TeachingChannelIE
  320. from .teamcoco import TeamcocoIE
  321. from .techtalks import TechTalksIE
  322. from .ted import TEDIE
  323. from .tenplay import TenPlayIE
  324. from .testurl import TestURLIE
  325. from .tf1 import TF1IE
  326. from .theplatform import ThePlatformIE
  327. from .thisav import ThisAVIE
  328. from .tinypic import TinyPicIE
  329. from .tlc import TlcIE, TlcDeIE
  330. from .toutv import TouTvIE
  331. from .toypics import ToypicsUserIE, ToypicsIE
  332. from .traileraddict import TrailerAddictIE
  333. from .trilulilu import TriluliluIE
  334. from .trutube import TruTubeIE
  335. from .tube8 import Tube8IE
  336. from .tudou import TudouIE
  337. from .tumblr import TumblrIE
  338. from .tutv import TutvIE
  339. from .tvigle import TvigleIE
  340. from .tvp import TvpIE
  341. from .tvplay import TVPlayIE
  342. from .ubu import UbuIE
  343. from .udemy import (
  344. UdemyIE,
  345. UdemyCourseIE
  346. )
  347. from .unistra import UnistraIE
  348. from .urort import UrortIE
  349. from .ustream import UstreamIE, UstreamChannelIE
  350. from .vbox7 import Vbox7IE
  351. from .veehd import VeeHDIE
  352. from .veoh import VeohIE
  353. from .vesti import VestiIE
  354. from .vevo import VevoIE
  355. from .vh1 import VH1IE
  356. from .viddler import ViddlerIE
  357. from .videobam import VideoBamIE
  358. from .videodetective import VideoDetectiveIE
  359. from .videolecturesnet import VideoLecturesNetIE
  360. from .videofyme import VideofyMeIE
  361. from .videopremium import VideoPremiumIE
  362. from .videott import VideoTtIE
  363. from .videoweed import VideoWeedIE
  364. from .vidme import VidmeIE
  365. from .vimeo import (
  366. VimeoIE,
  367. VimeoChannelIE,
  368. VimeoUserIE,
  369. VimeoAlbumIE,
  370. VimeoGroupsIE,
  371. VimeoReviewIE,
  372. VimeoWatchLaterIE,
  373. )
  374. from .vimple import VimpleIE
  375. from .vine import (
  376. VineIE,
  377. VineUserIE,
  378. )
  379. from .viki import VikiIE
  380. from .vk import VKIE
  381. from .vodlocker import VodlockerIE
  382. from .vube import VubeIE
  383. from .vuclip import VuClipIE
  384. from .vulture import VultureIE
  385. from .washingtonpost import WashingtonPostIE
  386. from .wat import WatIE
  387. from .wdr import (
  388. WDRIE,
  389. WDRMobileIE,
  390. WDRMausIE,
  391. )
  392. from .weibo import WeiboIE
  393. from .wimp import WimpIE
  394. from .wistia import WistiaIE
  395. from .worldstarhiphop import WorldStarHipHopIE
  396. from .wrzuta import WrzutaIE
  397. from .xbef import XBefIE
  398. from .xboxclips import XboxClipsIE
  399. from .xhamster import XHamsterIE
  400. from .xnxx import XNXXIE
  401. from .xvideos import XVideosIE
  402. from .xtube import XTubeUserIE, XTubeIE
  403. from .yahoo import (
  404. YahooIE,
  405. YahooNewsIE,
  406. YahooSearchIE,
  407. )
  408. from .youjizz import YouJizzIE
  409. from .youku import YoukuIE
  410. from .youporn import YouPornIE
  411. from .youtube import (
  412. YoutubeIE,
  413. YoutubeChannelIE,
  414. YoutubeFavouritesIE,
  415. YoutubeHistoryIE,
  416. YoutubePlaylistIE,
  417. YoutubeRecommendedIE,
  418. YoutubeSearchDateIE,
  419. YoutubeSearchIE,
  420. YoutubeSearchURLIE,
  421. YoutubeShowIE,
  422. YoutubeSubscriptionsIE,
  423. YoutubeTopListIE,
  424. YoutubeTruncatedURLIE,
  425. YoutubeUserIE,
  426. YoutubeWatchLaterIE,
  427. )
  428. from .zdf import ZDFIE
  429. _ALL_CLASSES = [
  430. klass
  431. for name, klass in globals().items()
  432. if name.endswith('IE') and name != 'GenericIE'
  433. ]
  434. _ALL_CLASSES.append(GenericIE)
  435. def gen_extractors():
  436. """ Return a list of an instance of every supported extractor.
  437. The order does matter; the first extractor matched is the one handling the URL.
  438. """
  439. return [klass() for klass in _ALL_CLASSES]
  440. def get_info_extractor(ie_name):
  441. """Returns the info extractor class with the given ie_name"""
  442. return globals()[ie_name+'IE']