__init__.py 13 KB

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