__init__.py 13 KB

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