__init__.py 15 KB

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