__init__.py 16 KB

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