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