__init__.py 15 KB

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