__init__.py 12 KB

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