__init__.py 15 KB

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