__init__.py 14 KB

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