__init__.py 13 KB

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