__init__.py 15 KB

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