__init__.py 13 KB

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