__init__.py 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556
  1. from __future__ import unicode_literals
  2. from .abc import ABCIE
  3. from .academicearth import AcademicEarthCourseIE
  4. from .addanime import AddAnimeIE
  5. from .adultswim import AdultSwimIE
  6. from .aftonbladet import AftonbladetIE
  7. from .anitube import AnitubeIE
  8. from .anysex import AnySexIE
  9. from .aol import AolIE
  10. from .allocine import AllocineIE
  11. from .aparat import AparatIE
  12. from .appletrailers import AppleTrailersIE
  13. from .archiveorg import ArchiveOrgIE
  14. from .ard import ARDIE, ARDMediathekIE
  15. from .arte import (
  16. ArteTvIE,
  17. ArteTVPlus7IE,
  18. ArteTVCreativeIE,
  19. ArteTVConcertIE,
  20. ArteTVFutureIE,
  21. ArteTVDDCIE,
  22. ArteTVEmbedIE,
  23. )
  24. from .audiomack import AudiomackIE
  25. from .auengine import AUEngineIE
  26. from .azubu import AzubuIE
  27. from .bambuser import BambuserIE, BambuserChannelIE
  28. from .bandcamp import BandcampIE, BandcampAlbumIE
  29. from .bbccouk import BBCCoUkIE
  30. from .beeg import BeegIE
  31. from .behindkink import BehindKinkIE
  32. from .bet import BetIE
  33. from .bild import BildIE
  34. from .bilibili import BiliBiliIE
  35. from .blinkx import BlinkxIE
  36. from .bliptv import BlipTVIE, BlipTVUserIE
  37. from .bloomberg import BloombergIE
  38. from .bpb import BpbIE
  39. from .br import BRIE
  40. from .breakcom import BreakIE
  41. from .brightcove import BrightcoveIE
  42. from .buzzfeed import BuzzFeedIE
  43. from .byutv import BYUtvIE
  44. from .c56 import C56IE
  45. from .canal13cl import Canal13clIE
  46. from .canalplus import CanalplusIE
  47. from .canalc2 import Canalc2IE
  48. from .cbs import CBSIE
  49. from .cbsnews import CBSNewsIE
  50. from .ceskatelevize import CeskaTelevizeIE
  51. from .channel9 import Channel9IE
  52. from .chilloutzone import ChilloutzoneIE
  53. from .cinchcast import CinchcastIE
  54. from .clipfish import ClipfishIE
  55. from .cliphunter import CliphunterIE
  56. from .clipsyndicate import ClipsyndicateIE
  57. from .cloudy import CloudyIE
  58. from .clubic import ClubicIE
  59. from .cmt import CMTIE
  60. from .cnet import CNETIE
  61. from .cnn import (
  62. CNNIE,
  63. CNNBlogsIE,
  64. )
  65. from .collegehumor import CollegeHumorIE
  66. from .comedycentral import ComedyCentralIE, ComedyCentralShowsIE
  67. from .condenast import CondeNastIE
  68. from .cracked import CrackedIE
  69. from .criterion import CriterionIE
  70. from .crunchyroll import (
  71. CrunchyrollIE,
  72. CrunchyrollShowPlaylistIE
  73. )
  74. from .cspan import CSpanIE
  75. from .dailymotion import (
  76. DailymotionIE,
  77. DailymotionPlaylistIE,
  78. DailymotionUserIE,
  79. )
  80. from .daum import DaumIE
  81. from .dbtv import DBTVIE
  82. from .deezer import DeezerPlaylistIE
  83. from .dfb import DFBIE
  84. from .dotsub import DotsubIE
  85. from .dreisat import DreiSatIE
  86. from .drtuber import DrTuberIE
  87. from .drtv import DRTVIE
  88. from .dump import DumpIE
  89. from .defense import DefenseGouvFrIE
  90. from .discovery import DiscoveryIE
  91. from .divxstage import DivxStageIE
  92. from .dropbox import DropboxIE
  93. from .ebaumsworld import EbaumsWorldIE
  94. from .ehow import EHowIE
  95. from .eighttracks import EightTracksIE
  96. from .einthusan import EinthusanIE
  97. from .eitb import EitbIE
  98. from .ellentv import (
  99. EllenTVIE,
  100. EllenTVClipsIE,
  101. )
  102. from .elpais import ElPaisIE
  103. from .empflix import EMPFlixIE
  104. from .engadget import EngadgetIE
  105. from .eporner import EpornerIE
  106. from .escapist import EscapistIE
  107. from .everyonesmixtape import EveryonesMixtapeIE
  108. from .exfm import ExfmIE
  109. from .expotv import ExpoTVIE
  110. from .extremetube import ExtremeTubeIE
  111. from .facebook import FacebookIE
  112. from .faz import FazIE
  113. from .fc2 import FC2IE
  114. from .firedrive import FiredriveIE
  115. from .firstpost import FirstpostIE
  116. from .firsttv import FirstTVIE
  117. from .fivemin import FiveMinIE
  118. from .fktv import (
  119. FKTVIE,
  120. FKTVPosteckeIE,
  121. )
  122. from .flickr import FlickrIE
  123. from .folketinget import FolketingetIE
  124. from .fourtube import FourTubeIE
  125. from .foxgay import FoxgayIE
  126. from .foxnews import FoxNewsIE
  127. from .franceculture import FranceCultureIE
  128. from .franceinter import FranceInterIE
  129. from .francetv import (
  130. PluzzIE,
  131. FranceTvInfoIE,
  132. FranceTVIE,
  133. GenerationQuoiIE,
  134. CultureboxIE,
  135. )
  136. from .freesound import FreesoundIE
  137. from .freespeech import FreespeechIE
  138. from .freevideo import FreeVideoIE
  139. from .funnyordie import FunnyOrDieIE
  140. from .gamekings import GamekingsIE
  141. from .gameone import (
  142. GameOneIE,
  143. GameOnePlaylistIE,
  144. )
  145. from .gamespot import GameSpotIE
  146. from .gamestar import GameStarIE
  147. from .gametrailers import GametrailersIE
  148. from .gdcvault import GDCVaultIE
  149. from .generic import GenericIE
  150. from .giantbomb import GiantBombIE
  151. from .glide import GlideIE
  152. from .globo import GloboIE
  153. from .godtube import GodTubeIE
  154. from .goldenmoustache import GoldenMoustacheIE
  155. from .golem import GolemIE
  156. from .googleplus import GooglePlusIE
  157. from .googlesearch import GoogleSearchIE
  158. from .gorillavid import GorillaVidIE
  159. from .goshgay import GoshgayIE
  160. from .grooveshark import GroovesharkIE
  161. from .groupon import GrouponIE
  162. from .hark import HarkIE
  163. from .heise import HeiseIE
  164. from .helsinki import HelsinkiIE
  165. from .hentaistigma import HentaiStigmaIE
  166. from .hornbunny import HornBunnyIE
  167. from .hostingbulk import HostingBulkIE
  168. from .hotnewhiphop import HotNewHipHopIE
  169. from .howcast import HowcastIE
  170. from .howstuffworks import HowStuffWorksIE
  171. from .huffpost import HuffPostIE
  172. from .hypem import HypemIE
  173. from .iconosquare import IconosquareIE
  174. from .ign import IGNIE, OneUPIE
  175. from .imdb import (
  176. ImdbIE,
  177. ImdbListIE
  178. )
  179. from .ina import InaIE
  180. from .infoq import InfoQIE
  181. from .instagram import InstagramIE, InstagramUserIE
  182. from .internetvideoarchive import InternetVideoArchiveIE
  183. from .iprima import IPrimaIE
  184. from .ivi import (
  185. IviIE,
  186. IviCompilationIE
  187. )
  188. from .izlesene import IzleseneIE
  189. from .jadorecettepub import JadoreCettePubIE
  190. from .jeuxvideo import JeuxVideoIE
  191. from .jove import JoveIE
  192. from .jukebox import JukeboxIE
  193. from .jpopsukitv import JpopsukiIE
  194. from .kankan import KankanIE
  195. from .keezmovies import KeezMoviesIE
  196. from .khanacademy import KhanAcademyIE
  197. from .kickstarter import KickStarterIE
  198. from .keek import KeekIE
  199. from .kontrtube import KontrTubeIE
  200. from .krasview import KrasViewIE
  201. from .ku6 import Ku6IE
  202. from .la7 import LA7IE
  203. from .laola1tv import Laola1TvIE
  204. from .lifenews import LifeNewsIE
  205. from .liveleak import LiveLeakIE
  206. from .livestream import (
  207. LivestreamIE,
  208. LivestreamOriginalIE,
  209. LivestreamShortenerIE,
  210. )
  211. from .lrt import LRTIE
  212. from .lynda import (
  213. LyndaIE,
  214. LyndaCourseIE
  215. )
  216. from .m6 import M6IE
  217. from .macgamestore import MacGameStoreIE
  218. from .mailru import MailRuIE
  219. from .malemotion import MalemotionIE
  220. from .mdr import MDRIE
  221. from .metacafe import MetacafeIE
  222. from .metacritic import MetacriticIE
  223. from .mgoon import MgoonIE
  224. from .minhateca import MinhatecaIE
  225. from .ministrygrid import MinistryGridIE
  226. from .mit import TechTVMITIE, MITIE, OCWMITIE
  227. from .mitele import MiTeleIE
  228. from .mixcloud import MixcloudIE
  229. from .mlb import MLBIE
  230. from .mpora import MporaIE
  231. from .moevideo import MoeVideoIE
  232. from .mofosex import MofosexIE
  233. from .mojvideo import MojvideoIE
  234. from .moniker import MonikerIE
  235. from .mooshare import MooshareIE
  236. from .morningstar import MorningstarIE
  237. from .motherless import MotherlessIE
  238. from .motorsport import MotorsportIE
  239. from .movieclips import MovieClipsIE
  240. from .moviezine import MoviezineIE
  241. from .movshare import MovShareIE
  242. from .mtv import (
  243. MTVIE,
  244. MTVServicesEmbeddedIE,
  245. MTVIggyIE,
  246. )
  247. from .muenchentv import MuenchenTVIE
  248. from .musicplayon import MusicPlayOnIE
  249. from .musicvault import MusicVaultIE
  250. from .muzu import MuzuTVIE
  251. from .myspace import MySpaceIE, MySpaceAlbumIE
  252. from .myspass import MySpassIE
  253. from .myvideo import MyVideoIE
  254. from .myvidster import MyVidsterIE
  255. from .naver import NaverIE
  256. from .nba import NBAIE
  257. from .nbc import (
  258. NBCIE,
  259. NBCNewsIE,
  260. )
  261. from .ndr import NDRIE
  262. from .ndtv import NDTVIE
  263. from .newgrounds import NewgroundsIE
  264. from .newstube import NewstubeIE
  265. from .nfb import NFBIE
  266. from .nfl import NFLIE
  267. from .nhl import NHLIE, NHLVideocenterIE
  268. from .niconico import NiconicoIE, NiconicoPlaylistIE
  269. from .ninegag import NineGagIE
  270. from .noco import NocoIE
  271. from .normalboots import NormalbootsIE
  272. from .nosvideo import NosVideoIE
  273. from .novamov import NovaMovIE
  274. from .nowness import NownessIE
  275. from .nowvideo import NowVideoIE
  276. from .npo import (
  277. NPOIE,
  278. TegenlichtVproIE,
  279. )
  280. from .nrk import (
  281. NRKIE,
  282. NRKTVIE,
  283. )
  284. from .ntv import NTVIE
  285. from .nytimes import NYTimesIE
  286. from .nuvid import NuvidIE
  287. from .oktoberfesttv import OktoberfestTVIE
  288. from .ooyala import OoyalaIE
  289. from .orf import (
  290. ORFTVthekIE,
  291. ORFOE1IE,
  292. ORFFM4IE,
  293. )
  294. from .parliamentliveuk import ParliamentLiveUKIE
  295. from .patreon import PatreonIE
  296. from .pbs import PBSIE
  297. from .phoenix import PhoenixIE
  298. from .photobucket import PhotobucketIE
  299. from .planetaplay import PlanetaPlayIE
  300. from .played import PlayedIE
  301. from .playfm import PlayFMIE
  302. from .playvid import PlayvidIE
  303. from .podomatic import PodomaticIE
  304. from .pornhd import PornHdIE
  305. from .pornhub import PornHubIE
  306. from .pornotube import PornotubeIE
  307. from .pornoxo import PornoXOIE
  308. from .promptfile import PromptFileIE
  309. from .prosiebensat1 import ProSiebenSat1IE
  310. from .pyvideo import PyvideoIE
  311. from .quickvid import QuickVidIE
  312. from .radiode import RadioDeIE
  313. from .radiofrance import RadioFranceIE
  314. from .rai import RaiIE
  315. from .rbmaradio import RBMARadioIE
  316. from .redtube import RedTubeIE
  317. from .reverbnation import ReverbNationIE
  318. from .ringtv import RingTVIE
  319. from .ro220 import Ro220IE
  320. from .rottentomatoes import RottenTomatoesIE
  321. from .roxwel import RoxwelIE
  322. from .rtbf import RTBFIE
  323. from .rtlnl import RtlXlIE
  324. from .rtlnow import RTLnowIE
  325. from .rtp import RTPIE
  326. from .rts import RTSIE
  327. from .rtve import RTVEALaCartaIE, RTVELiveIE
  328. from .ruhd import RUHDIE
  329. from .rutube import (
  330. RutubeIE,
  331. RutubeChannelIE,
  332. RutubeMovieIE,
  333. RutubePersonIE,
  334. )
  335. from .rutv import RUTVIE
  336. from .sapo import SapoIE
  337. from .savefrom import SaveFromIE
  338. from .sbs import SBSIE
  339. from .scivee import SciVeeIE
  340. from .screencast import ScreencastIE
  341. from .screenwavemedia import CinemassacreIE, ScreenwaveMediaIE, TeamFourIE
  342. from .servingsys import ServingSysIE
  343. from .sexu import SexuIE
  344. from .sexykarma import SexyKarmaIE
  345. from .shared import SharedIE
  346. from .sharesix import ShareSixIE
  347. from .sina import SinaIE
  348. from .slideshare import SlideshareIE
  349. from .slutload import SlutloadIE
  350. from .smotri import (
  351. SmotriIE,
  352. SmotriCommunityIE,
  353. SmotriUserIE,
  354. SmotriBroadcastIE,
  355. )
  356. from .snotr import SnotrIE
  357. from .sockshare import SockshareIE
  358. from .sohu import SohuIE
  359. from .soundcloud import (
  360. SoundcloudIE,
  361. SoundcloudSetIE,
  362. SoundcloudUserIE,
  363. SoundcloudPlaylistIE
  364. )
  365. from .soundgasm import SoundgasmIE
  366. from .southpark import (
  367. SouthParkIE,
  368. SouthparkDeIE,
  369. )
  370. from .space import SpaceIE
  371. from .spankwire import SpankwireIE
  372. from .spiegel import SpiegelIE, SpiegelArticleIE
  373. from .spiegeltv import SpiegeltvIE
  374. from .spike import SpikeIE
  375. from .sport5 import Sport5IE
  376. from .sportbox import SportBoxIE
  377. from .sportdeutschland import SportDeutschlandIE
  378. from .srmediathek import SRMediathekIE
  379. from .stanfordoc import StanfordOpenClassroomIE
  380. from .steam import SteamIE
  381. from .streamcloud import StreamcloudIE
  382. from .streamcz import StreamCZIE
  383. from .sunporno import SunPornoIE
  384. from .swrmediathek import SWRMediathekIE
  385. from .syfy import SyfyIE
  386. from .sztvhu import SztvHuIE
  387. from .tagesschau import TagesschauIE
  388. from .tapely import TapelyIE
  389. from .tass import TassIE
  390. from .teachertube import (
  391. TeacherTubeIE,
  392. TeacherTubeUserIE,
  393. )
  394. from .teachingchannel import TeachingChannelIE
  395. from .teamcoco import TeamcocoIE
  396. from .techtalks import TechTalksIE
  397. from .ted import TEDIE
  398. from .telebruxelles import TeleBruxellesIE
  399. from .telecinco import TelecincoIE
  400. from .telemb import TeleMBIE
  401. from .tenplay import TenPlayIE
  402. from .testurl import TestURLIE
  403. from .tf1 import TF1IE
  404. from .theonion import TheOnionIE
  405. from .theplatform import ThePlatformIE
  406. from .thesixtyone import TheSixtyOneIE
  407. from .thisav import ThisAVIE
  408. from .tinypic import TinyPicIE
  409. from .tlc import TlcIE, TlcDeIE
  410. from .tmz import TMZIE
  411. from .tnaflix import TNAFlixIE
  412. from .thvideo import (
  413. THVideoIE,
  414. THVideoPlaylistIE
  415. )
  416. from .toutv import TouTvIE
  417. from .toypics import ToypicsUserIE, ToypicsIE
  418. from .traileraddict import TrailerAddictIE
  419. from .trilulilu import TriluliluIE
  420. from .trutube import TruTubeIE
  421. from .tube8 import Tube8IE
  422. from .tudou import TudouIE
  423. from .tumblr import TumblrIE
  424. from .tunein import TuneInIE
  425. from .turbo import TurboIE
  426. from .tutv import TutvIE
  427. from .tvigle import TvigleIE
  428. from .tvp import TvpIE
  429. from .tvplay import TVPlayIE
  430. from .twentyfourvideo import TwentyFourVideoIE
  431. from .twitch import TwitchIE
  432. from .ubu import UbuIE
  433. from .udemy import (
  434. UdemyIE,
  435. UdemyCourseIE
  436. )
  437. from .unistra import UnistraIE
  438. from .urort import UrortIE
  439. from .ustream import UstreamIE, UstreamChannelIE
  440. from .vbox7 import Vbox7IE
  441. from .veehd import VeeHDIE
  442. from .veoh import VeohIE
  443. from .vesti import VestiIE
  444. from .vevo import VevoIE
  445. from .vgtv import VGTVIE
  446. from .vh1 import VH1IE
  447. from .vice import ViceIE
  448. from .viddler import ViddlerIE
  449. from .videobam import VideoBamIE
  450. from .videodetective import VideoDetectiveIE
  451. from .videolecturesnet import VideoLecturesNetIE
  452. from .videofyme import VideofyMeIE
  453. from .videomega import VideoMegaIE
  454. from .videopremium import VideoPremiumIE
  455. from .videott import VideoTtIE
  456. from .videoweed import VideoWeedIE
  457. from .vidme import VidmeIE
  458. from .vidzi import VidziIE
  459. from .vimeo import (
  460. VimeoIE,
  461. VimeoAlbumIE,
  462. VimeoChannelIE,
  463. VimeoGroupsIE,
  464. VimeoLikesIE,
  465. VimeoReviewIE,
  466. VimeoUserIE,
  467. VimeoWatchLaterIE,
  468. )
  469. from .vimple import VimpleIE
  470. from .vine import (
  471. VineIE,
  472. VineUserIE,
  473. )
  474. from .viki import VikiIE
  475. from .vk import (
  476. VKIE,
  477. VKUserVideosIE,
  478. )
  479. from .vodlocker import VodlockerIE
  480. from .vporn import VpornIE
  481. from .vrt import VRTIE
  482. from .vube import VubeIE
  483. from .vuclip import VuClipIE
  484. from .vulture import VultureIE
  485. from .walla import WallaIE
  486. from .washingtonpost import WashingtonPostIE
  487. from .wat import WatIE
  488. from .wayofthemaster import WayOfTheMasterIE
  489. from .wdr import (
  490. WDRIE,
  491. WDRMobileIE,
  492. WDRMausIE,
  493. )
  494. from .weibo import WeiboIE
  495. from .wimp import WimpIE
  496. from .wistia import WistiaIE
  497. from .worldstarhiphop import WorldStarHipHopIE
  498. from .wrzuta import WrzutaIE
  499. from .xbef import XBefIE
  500. from .xboxclips import XboxClipsIE
  501. from .xhamster import XHamsterIE
  502. from .xminus import XMinusIE
  503. from .xnxx import XNXXIE
  504. from .xvideos import XVideosIE
  505. from .xtube import XTubeUserIE, XTubeIE
  506. from .yahoo import (
  507. YahooIE,
  508. YahooSearchIE,
  509. )
  510. from .ynet import YnetIE
  511. from .youjizz import YouJizzIE
  512. from .youku import YoukuIE
  513. from .youporn import YouPornIE
  514. from .yourupload import YourUploadIE
  515. from .youtube import (
  516. YoutubeIE,
  517. YoutubeChannelIE,
  518. YoutubeFavouritesIE,
  519. YoutubeHistoryIE,
  520. YoutubePlaylistIE,
  521. YoutubeRecommendedIE,
  522. YoutubeSearchDateIE,
  523. YoutubeSearchIE,
  524. YoutubeSearchURLIE,
  525. YoutubeShowIE,
  526. YoutubeSubscriptionsIE,
  527. YoutubeTopListIE,
  528. YoutubeTruncatedURLIE,
  529. YoutubeUserIE,
  530. YoutubeWatchLaterIE,
  531. )
  532. from .zdf import ZDFIE, ZDFChannelIE
  533. from .zingmp3 import (
  534. ZingMp3SongIE,
  535. ZingMp3AlbumIE,
  536. )
  537. _ALL_CLASSES = [
  538. klass
  539. for name, klass in globals().items()
  540. if name.endswith('IE') and name != 'GenericIE'
  541. ]
  542. _ALL_CLASSES.append(GenericIE)
  543. def gen_extractors():
  544. """ Return a list of an instance of every supported extractor.
  545. The order does matter; the first extractor matched is the one handling the URL.
  546. """
  547. return [klass() for klass in _ALL_CLASSES]
  548. def get_info_extractor(ie_name):
  549. """Returns the info extractor class with the given ie_name"""
  550. return globals()[ie_name + 'IE']