__init__.py 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516
  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 (
  64. CrunchyrollIE,
  65. CrunchyrollShowPlaylistIE
  66. )
  67. from .cspan import CSpanIE
  68. from .d8 import D8IE
  69. from .dailymotion import (
  70. DailymotionIE,
  71. DailymotionPlaylistIE,
  72. DailymotionUserIE,
  73. )
  74. from .daum import DaumIE
  75. from .dbtv import DBTVIE
  76. from .deezer import DeezerPlaylistIE
  77. from .dfb import DFBIE
  78. from .dotsub import DotsubIE
  79. from .dreisat import DreiSatIE
  80. from .drtuber import DrTuberIE
  81. from .drtv import DRTVIE
  82. from .dump import DumpIE
  83. from .defense import DefenseGouvFrIE
  84. from .discovery import DiscoveryIE
  85. from .divxstage import DivxStageIE
  86. from .dropbox import DropboxIE
  87. from .ebaumsworld import EbaumsWorldIE
  88. from .ehow import EHowIE
  89. from .eighttracks import EightTracksIE
  90. from .einthusan import EinthusanIE
  91. from .eitb import EitbIE
  92. from .ellentv import (
  93. EllenTVIE,
  94. EllenTVClipsIE,
  95. )
  96. from .elpais import ElPaisIE
  97. from .empflix import EMPFlixIE
  98. from .engadget import EngadgetIE
  99. from .eporner import EpornerIE
  100. from .escapist import EscapistIE
  101. from .everyonesmixtape import EveryonesMixtapeIE
  102. from .exfm import ExfmIE
  103. from .expotv import ExpoTVIE
  104. from .extremetube import ExtremeTubeIE
  105. from .facebook import FacebookIE
  106. from .faz import FazIE
  107. from .fc2 import FC2IE
  108. from .firedrive import FiredriveIE
  109. from .firstpost import FirstpostIE
  110. from .firsttv import FirstTVIE
  111. from .fivemin import FiveMinIE
  112. from .fktv import (
  113. FKTVIE,
  114. FKTVPosteckeIE,
  115. )
  116. from .flickr import FlickrIE
  117. from .fourtube import FourTubeIE
  118. from .franceculture import FranceCultureIE
  119. from .franceinter import FranceInterIE
  120. from .francetv import (
  121. PluzzIE,
  122. FranceTvInfoIE,
  123. FranceTVIE,
  124. GenerationQuoiIE,
  125. CultureboxIE,
  126. )
  127. from .freesound import FreesoundIE
  128. from .freespeech import FreespeechIE
  129. from .funnyordie import FunnyOrDieIE
  130. from .gamekings import GamekingsIE
  131. from .gameone import (
  132. GameOneIE,
  133. GameOnePlaylistIE,
  134. )
  135. from .gamespot import GameSpotIE
  136. from .gamestar import GameStarIE
  137. from .gametrailers import GametrailersIE
  138. from .gdcvault import GDCVaultIE
  139. from .generic import GenericIE
  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 .telemb import TeleMBIE
  374. from .tenplay import TenPlayIE
  375. from .testurl import TestURLIE
  376. from .tf1 import TF1IE
  377. from .theonion import TheOnionIE
  378. from .theplatform import ThePlatformIE
  379. from .thesixtyone import TheSixtyOneIE
  380. from .thisav import ThisAVIE
  381. from .tinypic import TinyPicIE
  382. from .tlc import TlcIE, TlcDeIE
  383. from .tnaflix import TNAFlixIE
  384. from .thvideo import (
  385. THVideoIE,
  386. THVideoPlaylistIE
  387. )
  388. from .toutv import TouTvIE
  389. from .toypics import ToypicsUserIE, ToypicsIE
  390. from .traileraddict import TrailerAddictIE
  391. from .trilulilu import TriluliluIE
  392. from .trutube import TruTubeIE
  393. from .tube8 import Tube8IE
  394. from .tudou import TudouIE
  395. from .tumblr import TumblrIE
  396. from .turbo import TurboIE
  397. from .tutv import TutvIE
  398. from .tvigle import TvigleIE
  399. from .tvp import TvpIE
  400. from .tvplay import TVPlayIE
  401. from .twitch import TwitchIE
  402. from .ubu import UbuIE
  403. from .udemy import (
  404. UdemyIE,
  405. UdemyCourseIE
  406. )
  407. from .unistra import UnistraIE
  408. from .urort import UrortIE
  409. from .ustream import UstreamIE, UstreamChannelIE
  410. from .vbox7 import Vbox7IE
  411. from .veehd import VeeHDIE
  412. from .veoh import VeohIE
  413. from .vesti import VestiIE
  414. from .vevo import VevoIE
  415. from .vgtv import VGTVIE
  416. from .vh1 import VH1IE
  417. from .viddler import ViddlerIE
  418. from .videobam import VideoBamIE
  419. from .videodetective import VideoDetectiveIE
  420. from .videolecturesnet import VideoLecturesNetIE
  421. from .videofyme import VideofyMeIE
  422. from .videomega import VideoMegaIE
  423. from .videopremium import VideoPremiumIE
  424. from .videott import VideoTtIE
  425. from .videoweed import VideoWeedIE
  426. from .vidme import VidmeIE
  427. from .vimeo import (
  428. VimeoIE,
  429. VimeoAlbumIE,
  430. VimeoChannelIE,
  431. VimeoGroupsIE,
  432. VimeoLikesIE,
  433. VimeoReviewIE,
  434. VimeoUserIE,
  435. VimeoWatchLaterIE,
  436. )
  437. from .vimple import VimpleIE
  438. from .vine import (
  439. VineIE,
  440. VineUserIE,
  441. )
  442. from .viki import VikiIE
  443. from .vk import VKIE
  444. from .vodlocker import VodlockerIE
  445. from .vporn import VpornIE
  446. from .vube import VubeIE
  447. from .vuclip import VuClipIE
  448. from .vulture import VultureIE
  449. from .walla import WallaIE
  450. from .washingtonpost import WashingtonPostIE
  451. from .wat import WatIE
  452. from .wayofthemaster import WayOfTheMasterIE
  453. from .wdr import (
  454. WDRIE,
  455. WDRMobileIE,
  456. WDRMausIE,
  457. )
  458. from .weibo import WeiboIE
  459. from .wimp import WimpIE
  460. from .wistia import WistiaIE
  461. from .worldstarhiphop import WorldStarHipHopIE
  462. from .wrzuta import WrzutaIE
  463. from .xbef import XBefIE
  464. from .xboxclips import XboxClipsIE
  465. from .xhamster import XHamsterIE
  466. from .xnxx import XNXXIE
  467. from .xvideos import XVideosIE
  468. from .xtube import XTubeUserIE, XTubeIE
  469. from .yahoo import (
  470. YahooIE,
  471. YahooSearchIE,
  472. )
  473. from .ynet import YnetIE
  474. from .youjizz import YouJizzIE
  475. from .youku import YoukuIE
  476. from .youporn import YouPornIE
  477. from .yourupload import YourUploadIE
  478. from .youtube import (
  479. YoutubeIE,
  480. YoutubeChannelIE,
  481. YoutubeFavouritesIE,
  482. YoutubeHistoryIE,
  483. YoutubePlaylistIE,
  484. YoutubeRecommendedIE,
  485. YoutubeSearchDateIE,
  486. YoutubeSearchIE,
  487. YoutubeSearchURLIE,
  488. YoutubeShowIE,
  489. YoutubeSubscriptionsIE,
  490. YoutubeTopListIE,
  491. YoutubeTruncatedURLIE,
  492. YoutubeUserIE,
  493. YoutubeWatchLaterIE,
  494. )
  495. from .zdf import ZDFIE
  496. _ALL_CLASSES = [
  497. klass
  498. for name, klass in globals().items()
  499. if name.endswith('IE') and name != 'GenericIE'
  500. ]
  501. _ALL_CLASSES.append(GenericIE)
  502. def gen_extractors():
  503. """ Return a list of an instance of every supported extractor.
  504. The order does matter; the first extractor matched is the one handling the URL.
  505. """
  506. return [klass() for klass in _ALL_CLASSES]
  507. def get_info_extractor(ie_name):
  508. """Returns the info extractor class with the given ie_name"""
  509. return globals()[ie_name+'IE']