__init__.py 12 KB

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