__init__.py 14 KB

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