__init__.py 15 KB

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