__init__.py 14 KB

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