__init__.py 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547
  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 .franceculture import FranceCultureIE
  125. from .franceinter import FranceInterIE
  126. from .francetv import (
  127. PluzzIE,
  128. FranceTvInfoIE,
  129. FranceTVIE,
  130. GenerationQuoiIE,
  131. CultureboxIE,
  132. )
  133. from .freesound import FreesoundIE
  134. from .freespeech import FreespeechIE
  135. from .freevideo import FreeVideoIE
  136. from .funnyordie import FunnyOrDieIE
  137. from .gamekings import GamekingsIE
  138. from .gameone import (
  139. GameOneIE,
  140. GameOnePlaylistIE,
  141. )
  142. from .gamespot import GameSpotIE
  143. from .gamestar import GameStarIE
  144. from .gametrailers import GametrailersIE
  145. from .gdcvault import GDCVaultIE
  146. from .generic import GenericIE
  147. from .glide import GlideIE
  148. from .globo import GloboIE
  149. from .godtube import GodTubeIE
  150. from .goldenmoustache import GoldenMoustacheIE
  151. from .golem import GolemIE
  152. from .googleplus import GooglePlusIE
  153. from .googlesearch import GoogleSearchIE
  154. from .gorillavid import GorillaVidIE
  155. from .goshgay import GoshgayIE
  156. from .grooveshark import GroovesharkIE
  157. from .hark import HarkIE
  158. from .heise import HeiseIE
  159. from .helsinki import HelsinkiIE
  160. from .hentaistigma import HentaiStigmaIE
  161. from .hornbunny import HornBunnyIE
  162. from .hostingbulk import HostingBulkIE
  163. from .hotnewhiphop import HotNewHipHopIE
  164. from .howcast import HowcastIE
  165. from .howstuffworks import HowStuffWorksIE
  166. from .huffpost import HuffPostIE
  167. from .hypem import HypemIE
  168. from .iconosquare import IconosquareIE
  169. from .ign import IGNIE, OneUPIE
  170. from .imdb import (
  171. ImdbIE,
  172. ImdbListIE
  173. )
  174. from .ina import InaIE
  175. from .infoq import InfoQIE
  176. from .instagram import InstagramIE, InstagramUserIE
  177. from .internetvideoarchive import InternetVideoArchiveIE
  178. from .iprima import IPrimaIE
  179. from .ivi import (
  180. IviIE,
  181. IviCompilationIE
  182. )
  183. from .izlesene import IzleseneIE
  184. from .jadorecettepub import JadoreCettePubIE
  185. from .jeuxvideo import JeuxVideoIE
  186. from .jove import JoveIE
  187. from .jukebox import JukeboxIE
  188. from .jpopsukitv import JpopsukiIE
  189. from .kankan import KankanIE
  190. from .keezmovies import KeezMoviesIE
  191. from .khanacademy import KhanAcademyIE
  192. from .kickstarter import KickStarterIE
  193. from .keek import KeekIE
  194. from .kontrtube import KontrTubeIE
  195. from .krasview import KrasViewIE
  196. from .ku6 import Ku6IE
  197. from .la7 import LA7IE
  198. from .laola1tv import Laola1TvIE
  199. from .lifenews import LifeNewsIE
  200. from .liveleak import LiveLeakIE
  201. from .livestream import (
  202. LivestreamIE,
  203. LivestreamOriginalIE,
  204. LivestreamShortenerIE,
  205. )
  206. from .lrt import LRTIE
  207. from .lynda import (
  208. LyndaIE,
  209. LyndaCourseIE
  210. )
  211. from .m6 import M6IE
  212. from .macgamestore import MacGameStoreIE
  213. from .mailru import MailRuIE
  214. from .malemotion import MalemotionIE
  215. from .mdr import MDRIE
  216. from .metacafe import MetacafeIE
  217. from .metacritic import MetacriticIE
  218. from .mgoon import MgoonIE
  219. from .ministrygrid import MinistryGridIE
  220. from .mit import TechTVMITIE, MITIE, OCWMITIE
  221. from .mitele import MiTeleIE
  222. from .mixcloud import MixcloudIE
  223. from .mlb import MLBIE
  224. from .mpora import MporaIE
  225. from .moevideo import MoeVideoIE
  226. from .mofosex import MofosexIE
  227. from .mojvideo import MojvideoIE
  228. from .moniker import MonikerIE
  229. from .mooshare import MooshareIE
  230. from .morningstar import MorningstarIE
  231. from .motherless import MotherlessIE
  232. from .motorsport import MotorsportIE
  233. from .movieclips import MovieClipsIE
  234. from .moviezine import MoviezineIE
  235. from .movshare import MovShareIE
  236. from .mtv import (
  237. MTVIE,
  238. MTVServicesEmbeddedIE,
  239. MTVIggyIE,
  240. )
  241. from .muenchentv import MuenchenTVIE
  242. from .musicplayon import MusicPlayOnIE
  243. from .musicvault import MusicVaultIE
  244. from .muzu import MuzuTVIE
  245. from .myspace import MySpaceIE, MySpaceAlbumIE
  246. from .myspass import MySpassIE
  247. from .myvideo import MyVideoIE
  248. from .myvidster import MyVidsterIE
  249. from .naver import NaverIE
  250. from .nba import NBAIE
  251. from .nbc import (
  252. NBCIE,
  253. NBCNewsIE,
  254. )
  255. from .ndr import NDRIE
  256. from .ndtv import NDTVIE
  257. from .newgrounds import NewgroundsIE
  258. from .newstube import NewstubeIE
  259. from .nfb import NFBIE
  260. from .nfl import NFLIE
  261. from .nhl import NHLIE, NHLVideocenterIE
  262. from .niconico import NiconicoIE, NiconicoPlaylistIE
  263. from .ninegag import NineGagIE
  264. from .noco import NocoIE
  265. from .normalboots import NormalbootsIE
  266. from .nosvideo import NosVideoIE
  267. from .novamov import NovaMovIE
  268. from .nowness import NownessIE
  269. from .nowvideo import NowVideoIE
  270. from .npo import (
  271. NPOIE,
  272. TegenlichtVproIE,
  273. )
  274. from .nrk import (
  275. NRKIE,
  276. NRKTVIE,
  277. )
  278. from .ntv import NTVIE
  279. from .nytimes import NYTimesIE
  280. from .nuvid import NuvidIE
  281. from .oktoberfesttv import OktoberfestTVIE
  282. from .ooyala import OoyalaIE
  283. from .orf import (
  284. ORFTVthekIE,
  285. ORFOE1IE,
  286. ORFFM4IE,
  287. )
  288. from .parliamentliveuk import ParliamentLiveUKIE
  289. from .patreon import PatreonIE
  290. from .pbs import PBSIE
  291. from .phoenix import PhoenixIE
  292. from .photobucket import PhotobucketIE
  293. from .planetaplay import PlanetaPlayIE
  294. from .played import PlayedIE
  295. from .playfm import PlayFMIE
  296. from .playvid import PlayvidIE
  297. from .podomatic import PodomaticIE
  298. from .pornhd import PornHdIE
  299. from .pornhub import PornHubIE
  300. from .pornotube import PornotubeIE
  301. from .pornoxo import PornoXOIE
  302. from .promptfile import PromptFileIE
  303. from .prosiebensat1 import ProSiebenSat1IE
  304. from .pyvideo import PyvideoIE
  305. from .quickvid import QuickVidIE
  306. from .radiofrance import RadioFranceIE
  307. from .rai import RaiIE
  308. from .rbmaradio import RBMARadioIE
  309. from .redtube import RedTubeIE
  310. from .reverbnation import ReverbNationIE
  311. from .ringtv import RingTVIE
  312. from .ro220 import Ro220IE
  313. from .rottentomatoes import RottenTomatoesIE
  314. from .roxwel import RoxwelIE
  315. from .rtbf import RTBFIE
  316. from .rtlnl import RtlXlIE
  317. from .rtlnow import RTLnowIE
  318. from .rts import RTSIE
  319. from .rtve import RTVEALaCartaIE, RTVELiveIE
  320. from .ruhd import RUHDIE
  321. from .rutube import (
  322. RutubeIE,
  323. RutubeChannelIE,
  324. RutubeMovieIE,
  325. RutubePersonIE,
  326. )
  327. from .rutv import RUTVIE
  328. from .sapo import SapoIE
  329. from .savefrom import SaveFromIE
  330. from .sbs import SBSIE
  331. from .scivee import SciVeeIE
  332. from .screencast import ScreencastIE
  333. from .servingsys import ServingSysIE
  334. from .sexu import SexuIE
  335. from .sexykarma import SexyKarmaIE
  336. from .shared import SharedIE
  337. from .sharesix import ShareSixIE
  338. from .sina import SinaIE
  339. from .slideshare import SlideshareIE
  340. from .slutload import SlutloadIE
  341. from .smotri import (
  342. SmotriIE,
  343. SmotriCommunityIE,
  344. SmotriUserIE,
  345. SmotriBroadcastIE,
  346. )
  347. from .snotr import SnotrIE
  348. from .sockshare import SockshareIE
  349. from .sohu import SohuIE
  350. from .soundcloud import (
  351. SoundcloudIE,
  352. SoundcloudSetIE,
  353. SoundcloudUserIE,
  354. SoundcloudPlaylistIE
  355. )
  356. from .soundgasm import SoundgasmIE
  357. from .southpark import (
  358. SouthParkIE,
  359. SouthparkDeIE,
  360. )
  361. from .space import SpaceIE
  362. from .spankwire import SpankwireIE
  363. from .spiegel import SpiegelIE, SpiegelArticleIE
  364. from .spiegeltv import SpiegeltvIE
  365. from .spike import SpikeIE
  366. from .sport5 import Sport5IE
  367. from .sportbox import SportBoxIE
  368. from .sportdeutschland import SportDeutschlandIE
  369. from .srmediathek import SRMediathekIE
  370. from .stanfordoc import StanfordOpenClassroomIE
  371. from .steam import SteamIE
  372. from .streamcloud import StreamcloudIE
  373. from .streamcz import StreamCZIE
  374. from .sunporno import SunPornoIE
  375. from .swrmediathek import SWRMediathekIE
  376. from .syfy import SyfyIE
  377. from .sztvhu import SztvHuIE
  378. from .tagesschau import TagesschauIE
  379. from .tapely import TapelyIE
  380. from .tass import TassIE
  381. from .teachertube import (
  382. TeacherTubeIE,
  383. TeacherTubeUserIE,
  384. )
  385. from .teachingchannel import TeachingChannelIE
  386. from .teamcoco import TeamcocoIE
  387. from .techtalks import TechTalksIE
  388. from .ted import TEDIE
  389. from .telebruxelles import TeleBruxellesIE
  390. from .telecinco import TelecincoIE
  391. from .telemb import TeleMBIE
  392. from .tenplay import TenPlayIE
  393. from .testurl import TestURLIE
  394. from .tf1 import TF1IE
  395. from .theonion import TheOnionIE
  396. from .theplatform import ThePlatformIE
  397. from .thesixtyone import TheSixtyOneIE
  398. from .thisav import ThisAVIE
  399. from .tinypic import TinyPicIE
  400. from .tlc import TlcIE, TlcDeIE
  401. from .tmz import TMZIE
  402. from .tnaflix import TNAFlixIE
  403. from .thvideo import (
  404. THVideoIE,
  405. THVideoPlaylistIE
  406. )
  407. from .toutv import TouTvIE
  408. from .toypics import ToypicsUserIE, ToypicsIE
  409. from .traileraddict import TrailerAddictIE
  410. from .trilulilu import TriluliluIE
  411. from .trutube import TruTubeIE
  412. from .tube8 import Tube8IE
  413. from .tudou import TudouIE
  414. from .tumblr import TumblrIE
  415. from .tunein import TuneInIE
  416. from .turbo import TurboIE
  417. from .tutv import TutvIE
  418. from .tvigle import TvigleIE
  419. from .tvp import TvpIE
  420. from .tvplay import TVPlayIE
  421. from .twentyfourvideo import TwentyFourVideoIE
  422. from .twitch import TwitchIE
  423. from .ubu import UbuIE
  424. from .udemy import (
  425. UdemyIE,
  426. UdemyCourseIE
  427. )
  428. from .unistra import UnistraIE
  429. from .urort import UrortIE
  430. from .ustream import UstreamIE, UstreamChannelIE
  431. from .vbox7 import Vbox7IE
  432. from .veehd import VeeHDIE
  433. from .veoh import VeohIE
  434. from .vesti import VestiIE
  435. from .vevo import VevoIE
  436. from .vgtv import VGTVIE
  437. from .vh1 import VH1IE
  438. from .vice import ViceIE
  439. from .viddler import ViddlerIE
  440. from .videobam import VideoBamIE
  441. from .videodetective import VideoDetectiveIE
  442. from .videolecturesnet import VideoLecturesNetIE
  443. from .videofyme import VideofyMeIE
  444. from .videomega import VideoMegaIE
  445. from .videopremium import VideoPremiumIE
  446. from .videott import VideoTtIE
  447. from .videoweed import VideoWeedIE
  448. from .vidme import VidmeIE
  449. from .vidzi import VidziIE
  450. from .vimeo import (
  451. VimeoIE,
  452. VimeoAlbumIE,
  453. VimeoChannelIE,
  454. VimeoGroupsIE,
  455. VimeoLikesIE,
  456. VimeoReviewIE,
  457. VimeoUserIE,
  458. VimeoWatchLaterIE,
  459. )
  460. from .vimple import VimpleIE
  461. from .vine import (
  462. VineIE,
  463. VineUserIE,
  464. )
  465. from .viki import VikiIE
  466. from .vk import (
  467. VKIE,
  468. VKUserVideosIE,
  469. )
  470. from .vodlocker import VodlockerIE
  471. from .vporn import VpornIE
  472. from .vrt import VRTIE
  473. from .vube import VubeIE
  474. from .vuclip import VuClipIE
  475. from .vulture import VultureIE
  476. from .walla import WallaIE
  477. from .washingtonpost import WashingtonPostIE
  478. from .wat import WatIE
  479. from .wayofthemaster import WayOfTheMasterIE
  480. from .wdr import (
  481. WDRIE,
  482. WDRMobileIE,
  483. WDRMausIE,
  484. )
  485. from .weibo import WeiboIE
  486. from .wimp import WimpIE
  487. from .wistia import WistiaIE
  488. from .worldstarhiphop import WorldStarHipHopIE
  489. from .wrzuta import WrzutaIE
  490. from .xbef import XBefIE
  491. from .xboxclips import XboxClipsIE
  492. from .xhamster import XHamsterIE
  493. from .xminus import XMinusIE
  494. from .xnxx import XNXXIE
  495. from .xvideos import XVideosIE
  496. from .xtube import XTubeUserIE, XTubeIE
  497. from .yahoo import (
  498. YahooIE,
  499. YahooSearchIE,
  500. )
  501. from .ynet import YnetIE
  502. from .youjizz import YouJizzIE
  503. from .youku import YoukuIE
  504. from .youporn import YouPornIE
  505. from .yourupload import YourUploadIE
  506. from .youtube import (
  507. YoutubeIE,
  508. YoutubeChannelIE,
  509. YoutubeFavouritesIE,
  510. YoutubeHistoryIE,
  511. YoutubePlaylistIE,
  512. YoutubeRecommendedIE,
  513. YoutubeSearchDateIE,
  514. YoutubeSearchIE,
  515. YoutubeSearchURLIE,
  516. YoutubeShowIE,
  517. YoutubeSubscriptionsIE,
  518. YoutubeTopListIE,
  519. YoutubeTruncatedURLIE,
  520. YoutubeUserIE,
  521. YoutubeWatchLaterIE,
  522. )
  523. from .zdf import ZDFIE
  524. from .zingmp3 import (
  525. ZingMp3SongIE,
  526. ZingMp3AlbumIE,
  527. )
  528. _ALL_CLASSES = [
  529. klass
  530. for name, klass in globals().items()
  531. if name.endswith('IE') and name != 'GenericIE'
  532. ]
  533. _ALL_CLASSES.append(GenericIE)
  534. def gen_extractors():
  535. """ Return a list of an instance of every supported extractor.
  536. The order does matter; the first extractor matched is the one handling the URL.
  537. """
  538. return [klass() for klass in _ALL_CLASSES]
  539. def get_info_extractor(ie_name):
  540. """Returns the info extractor class with the given ie_name"""
  541. return globals()[ie_name + 'IE']