__init__.py 13 KB

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