__init__.py 15 KB

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