__init__.py 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549
  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 .minhateca import MinhatecaIE
  221. from .ministrygrid import MinistryGridIE
  222. from .mit import TechTVMITIE, MITIE, OCWMITIE
  223. from .mitele import MiTeleIE
  224. from .mixcloud import MixcloudIE
  225. from .mlb import MLBIE
  226. from .mpora import MporaIE
  227. from .moevideo import MoeVideoIE
  228. from .mofosex import MofosexIE
  229. from .mojvideo import MojvideoIE
  230. from .moniker import MonikerIE
  231. from .mooshare import MooshareIE
  232. from .morningstar import MorningstarIE
  233. from .motherless import MotherlessIE
  234. from .motorsport import MotorsportIE
  235. from .movieclips import MovieClipsIE
  236. from .moviezine import MoviezineIE
  237. from .movshare import MovShareIE
  238. from .mtv import (
  239. MTVIE,
  240. MTVServicesEmbeddedIE,
  241. MTVIggyIE,
  242. )
  243. from .muenchentv import MuenchenTVIE
  244. from .musicplayon import MusicPlayOnIE
  245. from .musicvault import MusicVaultIE
  246. from .muzu import MuzuTVIE
  247. from .myspace import MySpaceIE, MySpaceAlbumIE
  248. from .myspass import MySpassIE
  249. from .myvideo import MyVideoIE
  250. from .myvidster import MyVidsterIE
  251. from .naver import NaverIE
  252. from .nba import NBAIE
  253. from .nbc import (
  254. NBCIE,
  255. NBCNewsIE,
  256. )
  257. from .ndr import NDRIE
  258. from .ndtv import NDTVIE
  259. from .newgrounds import NewgroundsIE
  260. from .newstube import NewstubeIE
  261. from .nfb import NFBIE
  262. from .nfl import NFLIE
  263. from .nhl import NHLIE, NHLVideocenterIE
  264. from .niconico import NiconicoIE, NiconicoPlaylistIE
  265. from .ninegag import NineGagIE
  266. from .noco import NocoIE
  267. from .normalboots import NormalbootsIE
  268. from .nosvideo import NosVideoIE
  269. from .novamov import NovaMovIE
  270. from .nowness import NownessIE
  271. from .nowvideo import NowVideoIE
  272. from .npo import (
  273. NPOIE,
  274. TegenlichtVproIE,
  275. )
  276. from .nrk import (
  277. NRKIE,
  278. NRKTVIE,
  279. )
  280. from .ntv import NTVIE
  281. from .nytimes import NYTimesIE
  282. from .nuvid import NuvidIE
  283. from .oktoberfesttv import OktoberfestTVIE
  284. from .ooyala import OoyalaIE
  285. from .orf import (
  286. ORFTVthekIE,
  287. ORFOE1IE,
  288. ORFFM4IE,
  289. )
  290. from .parliamentliveuk import ParliamentLiveUKIE
  291. from .patreon import PatreonIE
  292. from .pbs import PBSIE
  293. from .phoenix import PhoenixIE
  294. from .photobucket import PhotobucketIE
  295. from .planetaplay import PlanetaPlayIE
  296. from .played import PlayedIE
  297. from .playfm import PlayFMIE
  298. from .playvid import PlayvidIE
  299. from .podomatic import PodomaticIE
  300. from .pornhd import PornHdIE
  301. from .pornhub import PornHubIE
  302. from .pornotube import PornotubeIE
  303. from .pornoxo import PornoXOIE
  304. from .promptfile import PromptFileIE
  305. from .prosiebensat1 import ProSiebenSat1IE
  306. from .pyvideo import PyvideoIE
  307. from .quickvid import QuickVidIE
  308. from .radiofrance import RadioFranceIE
  309. from .rai import RaiIE
  310. from .rbmaradio import RBMARadioIE
  311. from .redtube import RedTubeIE
  312. from .reverbnation import ReverbNationIE
  313. from .ringtv import RingTVIE
  314. from .ro220 import Ro220IE
  315. from .rottentomatoes import RottenTomatoesIE
  316. from .roxwel import RoxwelIE
  317. from .rtbf import RTBFIE
  318. from .rtlnl import RtlXlIE
  319. from .rtlnow import RTLnowIE
  320. from .rts import RTSIE
  321. from .rtve import RTVEALaCartaIE, RTVELiveIE
  322. from .ruhd import RUHDIE
  323. from .rutube import (
  324. RutubeIE,
  325. RutubeChannelIE,
  326. RutubeMovieIE,
  327. RutubePersonIE,
  328. )
  329. from .rutv import RUTVIE
  330. from .sapo import SapoIE
  331. from .savefrom import SaveFromIE
  332. from .sbs import SBSIE
  333. from .scivee import SciVeeIE
  334. from .screencast import ScreencastIE
  335. from .servingsys import ServingSysIE
  336. from .sexu import SexuIE
  337. from .sexykarma import SexyKarmaIE
  338. from .shared import SharedIE
  339. from .sharesix import ShareSixIE
  340. from .sina import SinaIE
  341. from .slideshare import SlideshareIE
  342. from .slutload import SlutloadIE
  343. from .smotri import (
  344. SmotriIE,
  345. SmotriCommunityIE,
  346. SmotriUserIE,
  347. SmotriBroadcastIE,
  348. )
  349. from .snotr import SnotrIE
  350. from .sockshare import SockshareIE
  351. from .sohu import SohuIE
  352. from .soundcloud import (
  353. SoundcloudIE,
  354. SoundcloudSetIE,
  355. SoundcloudUserIE,
  356. SoundcloudPlaylistIE
  357. )
  358. from .soundgasm import SoundgasmIE
  359. from .southpark import (
  360. SouthParkIE,
  361. SouthparkDeIE,
  362. )
  363. from .space import SpaceIE
  364. from .spankwire import SpankwireIE
  365. from .spiegel import SpiegelIE, SpiegelArticleIE
  366. from .spiegeltv import SpiegeltvIE
  367. from .spike import SpikeIE
  368. from .sport5 import Sport5IE
  369. from .sportbox import SportBoxIE
  370. from .sportdeutschland import SportDeutschlandIE
  371. from .srmediathek import SRMediathekIE
  372. from .stanfordoc import StanfordOpenClassroomIE
  373. from .steam import SteamIE
  374. from .streamcloud import StreamcloudIE
  375. from .streamcz import StreamCZIE
  376. from .sunporno import SunPornoIE
  377. from .swrmediathek import SWRMediathekIE
  378. from .syfy import SyfyIE
  379. from .sztvhu import SztvHuIE
  380. from .tagesschau import TagesschauIE
  381. from .tapely import TapelyIE
  382. from .tass import TassIE
  383. from .teachertube import (
  384. TeacherTubeIE,
  385. TeacherTubeUserIE,
  386. )
  387. from .teachingchannel import TeachingChannelIE
  388. from .teamcoco import TeamcocoIE
  389. from .techtalks import TechTalksIE
  390. from .ted import TEDIE
  391. from .telebruxelles import TeleBruxellesIE
  392. from .telecinco import TelecincoIE
  393. from .telemb import TeleMBIE
  394. from .tenplay import TenPlayIE
  395. from .testurl import TestURLIE
  396. from .tf1 import TF1IE
  397. from .theonion import TheOnionIE
  398. from .theplatform import ThePlatformIE
  399. from .thesixtyone import TheSixtyOneIE
  400. from .thisav import ThisAVIE
  401. from .tinypic import TinyPicIE
  402. from .tlc import TlcIE, TlcDeIE
  403. from .tmz import TMZIE
  404. from .tnaflix import TNAFlixIE
  405. from .thvideo import (
  406. THVideoIE,
  407. THVideoPlaylistIE
  408. )
  409. from .toutv import TouTvIE
  410. from .toypics import ToypicsUserIE, ToypicsIE
  411. from .traileraddict import TrailerAddictIE
  412. from .trilulilu import TriluliluIE
  413. from .trutube import TruTubeIE
  414. from .tube8 import Tube8IE
  415. from .tudou import TudouIE
  416. from .tumblr import TumblrIE
  417. from .tunein import TuneInIE
  418. from .turbo import TurboIE
  419. from .tutv import TutvIE
  420. from .tvigle import TvigleIE
  421. from .tvp import TvpIE
  422. from .tvplay import TVPlayIE
  423. from .twentyfourvideo import TwentyFourVideoIE
  424. from .twitch import TwitchIE
  425. from .ubu import UbuIE
  426. from .udemy import (
  427. UdemyIE,
  428. UdemyCourseIE
  429. )
  430. from .unistra import UnistraIE
  431. from .urort import UrortIE
  432. from .ustream import UstreamIE, UstreamChannelIE
  433. from .vbox7 import Vbox7IE
  434. from .veehd import VeeHDIE
  435. from .veoh import VeohIE
  436. from .vesti import VestiIE
  437. from .vevo import VevoIE
  438. from .vgtv import VGTVIE
  439. from .vh1 import VH1IE
  440. from .vice import ViceIE
  441. from .viddler import ViddlerIE
  442. from .videobam import VideoBamIE
  443. from .videodetective import VideoDetectiveIE
  444. from .videolecturesnet import VideoLecturesNetIE
  445. from .videofyme import VideofyMeIE
  446. from .videomega import VideoMegaIE
  447. from .videopremium import VideoPremiumIE
  448. from .videott import VideoTtIE
  449. from .videoweed import VideoWeedIE
  450. from .vidme import VidmeIE
  451. from .vidzi import VidziIE
  452. from .vimeo import (
  453. VimeoIE,
  454. VimeoAlbumIE,
  455. VimeoChannelIE,
  456. VimeoGroupsIE,
  457. VimeoLikesIE,
  458. VimeoReviewIE,
  459. VimeoUserIE,
  460. VimeoWatchLaterIE,
  461. )
  462. from .vimple import VimpleIE
  463. from .vine import (
  464. VineIE,
  465. VineUserIE,
  466. )
  467. from .viki import VikiIE
  468. from .vk import (
  469. VKIE,
  470. VKUserVideosIE,
  471. )
  472. from .vodlocker import VodlockerIE
  473. from .vporn import VpornIE
  474. from .vrt import VRTIE
  475. from .vube import VubeIE
  476. from .vuclip import VuClipIE
  477. from .vulture import VultureIE
  478. from .walla import WallaIE
  479. from .washingtonpost import WashingtonPostIE
  480. from .wat import WatIE
  481. from .wayofthemaster import WayOfTheMasterIE
  482. from .wdr import (
  483. WDRIE,
  484. WDRMobileIE,
  485. WDRMausIE,
  486. )
  487. from .weibo import WeiboIE
  488. from .wimp import WimpIE
  489. from .wistia import WistiaIE
  490. from .worldstarhiphop import WorldStarHipHopIE
  491. from .wrzuta import WrzutaIE
  492. from .xbef import XBefIE
  493. from .xboxclips import XboxClipsIE
  494. from .xhamster import XHamsterIE
  495. from .xminus import XMinusIE
  496. from .xnxx import XNXXIE
  497. from .xvideos import XVideosIE
  498. from .xtube import XTubeUserIE, XTubeIE
  499. from .yahoo import (
  500. YahooIE,
  501. YahooSearchIE,
  502. )
  503. from .ynet import YnetIE
  504. from .youjizz import YouJizzIE
  505. from .youku import YoukuIE
  506. from .youporn import YouPornIE
  507. from .yourupload import YourUploadIE
  508. from .youtube import (
  509. YoutubeIE,
  510. YoutubeChannelIE,
  511. YoutubeFavouritesIE,
  512. YoutubeHistoryIE,
  513. YoutubePlaylistIE,
  514. YoutubeRecommendedIE,
  515. YoutubeSearchDateIE,
  516. YoutubeSearchIE,
  517. YoutubeSearchURLIE,
  518. YoutubeShowIE,
  519. YoutubeSubscriptionsIE,
  520. YoutubeTopListIE,
  521. YoutubeTruncatedURLIE,
  522. YoutubeUserIE,
  523. YoutubeWatchLaterIE,
  524. )
  525. from .zdf import ZDFIE
  526. from .zingmp3 import (
  527. ZingMp3SongIE,
  528. ZingMp3AlbumIE,
  529. )
  530. _ALL_CLASSES = [
  531. klass
  532. for name, klass in globals().items()
  533. if name.endswith('IE') and name != 'GenericIE'
  534. ]
  535. _ALL_CLASSES.append(GenericIE)
  536. def gen_extractors():
  537. """ Return a list of an instance of every supported extractor.
  538. The order does matter; the first extractor matched is the one handling the URL.
  539. """
  540. return [klass() for klass in _ALL_CLASSES]
  541. def get_info_extractor(ie_name):
  542. """Returns the info extractor class with the given ie_name"""
  543. return globals()[ie_name + 'IE']