__init__.py 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488
  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 .godtube import GodTubeIE
  138. from .googleplus import GooglePlusIE
  139. from .googlesearch import GoogleSearchIE
  140. from .gorillavid import GorillaVidIE
  141. from .goshgay import GoshgayIE
  142. from .grooveshark import GroovesharkIE
  143. from .hark import HarkIE
  144. from .helsinki import HelsinkiIE
  145. from .hentaistigma import HentaiStigmaIE
  146. from .hornbunny import HornBunnyIE
  147. from .hostingbulk import HostingBulkIE
  148. from .hotnewhiphop import HotNewHipHopIE
  149. from .howcast import HowcastIE
  150. from .howstuffworks import HowStuffWorksIE
  151. from .huffpost import HuffPostIE
  152. from .hypem import HypemIE
  153. from .iconosquare import IconosquareIE
  154. from .ign import IGNIE, OneUPIE
  155. from .imdb import (
  156. ImdbIE,
  157. ImdbListIE
  158. )
  159. from .ina import InaIE
  160. from .infoq import InfoQIE
  161. from .instagram import InstagramIE, InstagramUserIE
  162. from .internetvideoarchive import InternetVideoArchiveIE
  163. from .iprima import IPrimaIE
  164. from .ivi import (
  165. IviIE,
  166. IviCompilationIE
  167. )
  168. from .izlesene import IzleseneIE
  169. from .jadorecettepub import JadoreCettePubIE
  170. from .jeuxvideo import JeuxVideoIE
  171. from .jove import JoveIE
  172. from .jukebox import JukeboxIE
  173. from .justintv import JustinTVIE
  174. from .jpopsukitv import JpopsukiIE
  175. from .kankan import KankanIE
  176. from .keezmovies import KeezMoviesIE
  177. from .khanacademy import KhanAcademyIE
  178. from .kickstarter import KickStarterIE
  179. from .keek import KeekIE
  180. from .kontrtube import KontrTubeIE
  181. from .krasview import KrasViewIE
  182. from .ku6 import Ku6IE
  183. from .la7 import LA7IE
  184. from .lifenews import LifeNewsIE
  185. from .liveleak import LiveLeakIE
  186. from .livestream import (
  187. LivestreamIE,
  188. LivestreamOriginalIE,
  189. LivestreamShortenerIE,
  190. )
  191. from .lynda import (
  192. LyndaIE,
  193. LyndaCourseIE
  194. )
  195. from .m6 import M6IE
  196. from .macgamestore import MacGameStoreIE
  197. from .mailru import MailRuIE
  198. from .malemotion import MalemotionIE
  199. from .mdr import MDRIE
  200. from .metacafe import MetacafeIE
  201. from .metacritic import MetacriticIE
  202. from .ministrygrid import MinistryGridIE
  203. from .mit import TechTVMITIE, MITIE, OCWMITIE
  204. from .mitele import MiTeleIE
  205. from .mixcloud import MixcloudIE
  206. from .mlb import MLBIE
  207. from .mpora import MporaIE
  208. from .moevideo import MoeVideoIE
  209. from .mofosex import MofosexIE
  210. from .mojvideo import MojvideoIE
  211. from .moniker import MonikerIE
  212. from .mooshare import MooshareIE
  213. from .morningstar import MorningstarIE
  214. from .motherless import MotherlessIE
  215. from .motorsport import MotorsportIE
  216. from .movieclips import MovieClipsIE
  217. from .moviezine import MoviezineIE
  218. from .movshare import MovShareIE
  219. from .mtv import (
  220. MTVIE,
  221. MTVServicesEmbeddedIE,
  222. MTVIggyIE,
  223. )
  224. from .muenchentv import MuenchenTVIE
  225. from .musicplayon import MusicPlayOnIE
  226. from .musicvault import MusicVaultIE
  227. from .muzu import MuzuTVIE
  228. from .myspace import MySpaceIE
  229. from .myspass import MySpassIE
  230. from .myvideo import MyVideoIE
  231. from .naver import NaverIE
  232. from .nba import NBAIE
  233. from .nbc import (
  234. NBCIE,
  235. NBCNewsIE,
  236. )
  237. from .ndr import NDRIE
  238. from .ndtv import NDTVIE
  239. from .newgrounds import NewgroundsIE
  240. from .newstube import NewstubeIE
  241. from .nfb import NFBIE
  242. from .nhl import NHLIE, NHLVideocenterIE
  243. from .niconico import NiconicoIE
  244. from .ninegag import NineGagIE
  245. from .noco import NocoIE
  246. from .normalboots import NormalbootsIE
  247. from .nosvideo import NosVideoIE
  248. from .novamov import NovaMovIE
  249. from .nowness import NownessIE
  250. from .nowvideo import NowVideoIE
  251. from .npo import NPOIE
  252. from .nrk import (
  253. NRKIE,
  254. NRKTVIE,
  255. )
  256. from .ntv import NTVIE
  257. from .nytimes import NYTimesIE
  258. from .nuvid import NuvidIE
  259. from .ooyala import OoyalaIE
  260. from .orf import (
  261. ORFTVthekIE,
  262. ORFOE1IE,
  263. ORFFM4IE,
  264. )
  265. from .parliamentliveuk import ParliamentLiveUKIE
  266. from .patreon import PatreonIE
  267. from .pbs import PBSIE
  268. from .photobucket import PhotobucketIE
  269. from .playfm import PlayFMIE
  270. from .playvid import PlayvidIE
  271. from .podomatic import PodomaticIE
  272. from .pornhd import PornHdIE
  273. from .pornhub import PornHubIE
  274. from .pornotube import PornotubeIE
  275. from .pornoxo import PornoXOIE
  276. from .promptfile import PromptFileIE
  277. from .prosiebensat1 import ProSiebenSat1IE
  278. from .pyvideo import PyvideoIE
  279. from .radiofrance import RadioFranceIE
  280. from .rai import RaiIE
  281. from .rbmaradio import RBMARadioIE
  282. from .redtube import RedTubeIE
  283. from .reverbnation import ReverbNationIE
  284. from .ringtv import RingTVIE
  285. from .ro220 import Ro220IE
  286. from .rottentomatoes import RottenTomatoesIE
  287. from .roxwel import RoxwelIE
  288. from .rtbf import RTBFIE
  289. from .rtlnl import RtlXlIE
  290. from .rtlnow import RTLnowIE
  291. from .rts import RTSIE
  292. from .rtve import RTVEALaCartaIE, RTVELiveIE
  293. from .ruhd import RUHDIE
  294. from .rutube import (
  295. RutubeIE,
  296. RutubeChannelIE,
  297. RutubeMovieIE,
  298. RutubePersonIE,
  299. )
  300. from .rutv import RUTVIE
  301. from .sapo import SapoIE
  302. from .savefrom import SaveFromIE
  303. from .sbs import SBSIE
  304. from .scivee import SciVeeIE
  305. from .screencast import ScreencastIE
  306. from .servingsys import ServingSysIE
  307. from .shared import SharedIE
  308. from .sharesix import ShareSixIE
  309. from .sina import SinaIE
  310. from .slideshare import SlideshareIE
  311. from .slutload import SlutloadIE
  312. from .smotri import (
  313. SmotriIE,
  314. SmotriCommunityIE,
  315. SmotriUserIE,
  316. SmotriBroadcastIE,
  317. )
  318. from .snotr import SnotrIE
  319. from .sockshare import SockshareIE
  320. from .sohu import SohuIE
  321. from .soundcloud import (
  322. SoundcloudIE,
  323. SoundcloudSetIE,
  324. SoundcloudUserIE,
  325. SoundcloudPlaylistIE
  326. )
  327. from .soundgasm import SoundgasmIE
  328. from .southpark import (
  329. SouthParkIE,
  330. SouthparkDeIE,
  331. )
  332. from .space import SpaceIE
  333. from .spankwire import SpankwireIE
  334. from .spiegel import SpiegelIE, SpiegelArticleIE
  335. from .spiegeltv import SpiegeltvIE
  336. from .spike import SpikeIE
  337. from .sportdeutschland import SportDeutschlandIE
  338. from .stanfordoc import StanfordOpenClassroomIE
  339. from .steam import SteamIE
  340. from .streamcloud import StreamcloudIE
  341. from .streamcz import StreamCZIE
  342. from .sunporno import SunPornoIE
  343. from .swrmediathek import SWRMediathekIE
  344. from .syfy import SyfyIE
  345. from .sztvhu import SztvHuIE
  346. from .tagesschau import TagesschauIE
  347. from .teachertube import (
  348. TeacherTubeIE,
  349. TeacherTubeUserIE,
  350. )
  351. from .teachingchannel import TeachingChannelIE
  352. from .teamcoco import TeamcocoIE
  353. from .techtalks import TechTalksIE
  354. from .ted import TEDIE
  355. from .telemb import TeleMBIE
  356. from .tenplay import TenPlayIE
  357. from .testurl import TestURLIE
  358. from .tf1 import TF1IE
  359. from .theplatform import ThePlatformIE
  360. from .thisav import ThisAVIE
  361. from .tinypic import TinyPicIE
  362. from .tlc import TlcIE, TlcDeIE
  363. from .tnaflix import TNAFlixIE
  364. from .toutv import TouTvIE
  365. from .toypics import ToypicsUserIE, ToypicsIE
  366. from .traileraddict import TrailerAddictIE
  367. from .trilulilu import TriluliluIE
  368. from .trutube import TruTubeIE
  369. from .tube8 import Tube8IE
  370. from .tudou import TudouIE
  371. from .tumblr import TumblrIE
  372. from .turbo import TurboIE
  373. from .tutv import TutvIE
  374. from .tvigle import TvigleIE
  375. from .tvp import TvpIE
  376. from .tvplay import TVPlayIE
  377. from .ubu import UbuIE
  378. from .udemy import (
  379. UdemyIE,
  380. UdemyCourseIE
  381. )
  382. from .unistra import UnistraIE
  383. from .urort import UrortIE
  384. from .ustream import UstreamIE, UstreamChannelIE
  385. from .vbox7 import Vbox7IE
  386. from .veehd import VeeHDIE
  387. from .veoh import VeohIE
  388. from .vesti import VestiIE
  389. from .vevo import VevoIE
  390. from .vgtv import VGTVIE
  391. from .vh1 import VH1IE
  392. from .viddler import ViddlerIE
  393. from .videobam import VideoBamIE
  394. from .videodetective import VideoDetectiveIE
  395. from .videolecturesnet import VideoLecturesNetIE
  396. from .videofyme import VideofyMeIE
  397. from .videomega import VideoMegaIE
  398. from .videopremium import VideoPremiumIE
  399. from .videott import VideoTtIE
  400. from .videoweed import VideoWeedIE
  401. from .vidme import VidmeIE
  402. from .vimeo import (
  403. VimeoIE,
  404. VimeoChannelIE,
  405. VimeoUserIE,
  406. VimeoAlbumIE,
  407. VimeoGroupsIE,
  408. VimeoReviewIE,
  409. VimeoWatchLaterIE,
  410. )
  411. from .vimple import VimpleIE
  412. from .vine import (
  413. VineIE,
  414. VineUserIE,
  415. )
  416. from .viki import VikiIE
  417. from .vk import VKIE
  418. from .vodlocker import VodlockerIE
  419. from .vporn import VpornIE
  420. from .vube import VubeIE
  421. from .vuclip import VuClipIE
  422. from .vulture import VultureIE
  423. from .washingtonpost import WashingtonPostIE
  424. from .wat import WatIE
  425. from .wayofthemaster import WayOfTheMasterIE
  426. from .wdr import (
  427. WDRIE,
  428. WDRMobileIE,
  429. WDRMausIE,
  430. )
  431. from .weibo import WeiboIE
  432. from .wimp import WimpIE
  433. from .wistia import WistiaIE
  434. from .worldstarhiphop import WorldStarHipHopIE
  435. from .wrzuta import WrzutaIE
  436. from .xbef import XBefIE
  437. from .xboxclips import XboxClipsIE
  438. from .xhamster import XHamsterIE
  439. from .xnxx import XNXXIE
  440. from .xvideos import XVideosIE
  441. from .xtube import XTubeUserIE, XTubeIE
  442. from .yahoo import (
  443. YahooIE,
  444. YahooNewsIE,
  445. YahooSearchIE,
  446. )
  447. from .youjizz import YouJizzIE
  448. from .youku import YoukuIE
  449. from .youporn import YouPornIE
  450. from .youtube import (
  451. YoutubeIE,
  452. YoutubeChannelIE,
  453. YoutubeFavouritesIE,
  454. YoutubeHistoryIE,
  455. YoutubePlaylistIE,
  456. YoutubeRecommendedIE,
  457. YoutubeSearchDateIE,
  458. YoutubeSearchIE,
  459. YoutubeSearchURLIE,
  460. YoutubeShowIE,
  461. YoutubeSubscriptionsIE,
  462. YoutubeTopListIE,
  463. YoutubeTruncatedURLIE,
  464. YoutubeUserIE,
  465. YoutubeWatchLaterIE,
  466. )
  467. from .zdf import ZDFIE
  468. _ALL_CLASSES = [
  469. klass
  470. for name, klass in globals().items()
  471. if name.endswith('IE') and name != 'GenericIE'
  472. ]
  473. _ALL_CLASSES.append(GenericIE)
  474. def gen_extractors():
  475. """ Return a list of an instance of every supported extractor.
  476. The order does matter; the first extractor matched is the one handling the URL.
  477. """
  478. return [klass() for klass in _ALL_CLASSES]
  479. def get_info_extractor(ie_name):
  480. """Returns the info extractor class with the given ie_name"""
  481. return globals()[ie_name+'IE']