__init__.py 16 KB

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