__init__.py 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450
  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 .pbs import PBSIE
  244. from .photobucket import PhotobucketIE
  245. from .playvid import PlayvidIE
  246. from .podomatic import PodomaticIE
  247. from .pornhd import PornHdIE
  248. from .pornhub import PornHubIE
  249. from .pornotube import PornotubeIE
  250. from .prosiebensat1 import ProSiebenSat1IE
  251. from .pyvideo import PyvideoIE
  252. from .radiofrance import RadioFranceIE
  253. from .rai import RaiIE
  254. from .rbmaradio import RBMARadioIE
  255. from .redtube import RedTubeIE
  256. from .reverbnation import ReverbNationIE
  257. from .ringtv import RingTVIE
  258. from .ro220 import Ro220IE
  259. from .rottentomatoes import RottenTomatoesIE
  260. from .roxwel import RoxwelIE
  261. from .rtbf import RTBFIE
  262. from .rtlnl import RtlXlIE
  263. from .rtlnow import RTLnowIE
  264. from .rts import RTSIE
  265. from .rtve import RTVEALaCartaIE
  266. from .ruhd import RUHDIE
  267. from .rutube import (
  268. RutubeIE,
  269. RutubeChannelIE,
  270. RutubeMovieIE,
  271. RutubePersonIE,
  272. )
  273. from .rutv import RUTVIE
  274. from .sapo import SapoIE
  275. from .savefrom import SaveFromIE
  276. from .scivee import SciVeeIE
  277. from .screencast import ScreencastIE
  278. from .servingsys import ServingSysIE
  279. from .shared import SharedIE
  280. from .sina import SinaIE
  281. from .slideshare import SlideshareIE
  282. from .slutload import SlutloadIE
  283. from .smotri import (
  284. SmotriIE,
  285. SmotriCommunityIE,
  286. SmotriUserIE,
  287. SmotriBroadcastIE,
  288. )
  289. from .snotr import SnotrIE
  290. from .sockshare import SockshareIE
  291. from .sohu import SohuIE
  292. from .soundcloud import (
  293. SoundcloudIE,
  294. SoundcloudSetIE,
  295. SoundcloudUserIE,
  296. SoundcloudPlaylistIE
  297. )
  298. from .soundgasm import SoundgasmIE
  299. from .southpark import (
  300. SouthParkIE,
  301. SouthparkDeIE,
  302. )
  303. from .space import SpaceIE
  304. from .spankwire import SpankwireIE
  305. from .spiegel import SpiegelIE
  306. from .spiegeltv import SpiegeltvIE
  307. from .spike import SpikeIE
  308. from .stanfordoc import StanfordOpenClassroomIE
  309. from .steam import SteamIE
  310. from .streamcloud import StreamcloudIE
  311. from .streamcz import StreamCZIE
  312. from .swrmediathek import SWRMediathekIE
  313. from .syfy import SyfyIE
  314. from .sztvhu import SztvHuIE
  315. from .tagesschau import TagesschauIE
  316. from .teachertube import (
  317. TeacherTubeIE,
  318. TeacherTubeUserIE,
  319. )
  320. from .teachingchannel import TeachingChannelIE
  321. from .teamcoco import TeamcocoIE
  322. from .techtalks import TechTalksIE
  323. from .ted import TEDIE
  324. from .tenplay import TenPlayIE
  325. from .testurl import TestURLIE
  326. from .tf1 import TF1IE
  327. from .theplatform import ThePlatformIE
  328. from .thisav import ThisAVIE
  329. from .tinypic import TinyPicIE
  330. from .tlc import TlcIE, TlcDeIE
  331. from .toutv import TouTvIE
  332. from .toypics import ToypicsUserIE, ToypicsIE
  333. from .traileraddict import TrailerAddictIE
  334. from .trilulilu import TriluliluIE
  335. from .trutube import TruTubeIE
  336. from .tube8 import Tube8IE
  337. from .tudou import TudouIE
  338. from .tumblr import TumblrIE
  339. from .tutv import TutvIE
  340. from .tvigle import TvigleIE
  341. from .tvp import TvpIE
  342. from .tvplay import TVPlayIE
  343. from .ubu import UbuIE
  344. from .udemy import (
  345. UdemyIE,
  346. UdemyCourseIE
  347. )
  348. from .unistra import UnistraIE
  349. from .urort import UrortIE
  350. from .ustream import UstreamIE, UstreamChannelIE
  351. from .vbox7 import Vbox7IE
  352. from .veehd import VeeHDIE
  353. from .veoh import VeohIE
  354. from .vesti import VestiIE
  355. from .vevo import VevoIE
  356. from .vh1 import VH1IE
  357. from .viddler import ViddlerIE
  358. from .videobam import VideoBamIE
  359. from .videodetective import VideoDetectiveIE
  360. from .videolecturesnet import VideoLecturesNetIE
  361. from .videofyme import VideofyMeIE
  362. from .videopremium import VideoPremiumIE
  363. from .videott import VideoTtIE
  364. from .videoweed import VideoWeedIE
  365. from .vidme import VidmeIE
  366. from .vimeo import (
  367. VimeoIE,
  368. VimeoChannelIE,
  369. VimeoUserIE,
  370. VimeoAlbumIE,
  371. VimeoGroupsIE,
  372. VimeoReviewIE,
  373. VimeoWatchLaterIE,
  374. )
  375. from .vimple import VimpleIE
  376. from .vine import (
  377. VineIE,
  378. VineUserIE,
  379. )
  380. from .viki import VikiIE
  381. from .vk import VKIE
  382. from .vodlocker import VodlockerIE
  383. from .vube import VubeIE
  384. from .vuclip import VuClipIE
  385. from .vulture import VultureIE
  386. from .washingtonpost import WashingtonPostIE
  387. from .wat import WatIE
  388. from .wdr import (
  389. WDRIE,
  390. WDRMobileIE,
  391. WDRMausIE,
  392. )
  393. from .weibo import WeiboIE
  394. from .wimp import WimpIE
  395. from .wistia import WistiaIE
  396. from .worldstarhiphop import WorldStarHipHopIE
  397. from .wrzuta import WrzutaIE
  398. from .xbef import XBefIE
  399. from .xboxclips import XboxClipsIE
  400. from .xhamster import XHamsterIE
  401. from .xnxx import XNXXIE
  402. from .xvideos import XVideosIE
  403. from .xtube import XTubeUserIE, XTubeIE
  404. from .yahoo import (
  405. YahooIE,
  406. YahooNewsIE,
  407. YahooSearchIE,
  408. )
  409. from .youjizz import YouJizzIE
  410. from .youku import YoukuIE
  411. from .youporn import YouPornIE
  412. from .youtube import (
  413. YoutubeIE,
  414. YoutubeChannelIE,
  415. YoutubeFavouritesIE,
  416. YoutubeHistoryIE,
  417. YoutubePlaylistIE,
  418. YoutubeRecommendedIE,
  419. YoutubeSearchDateIE,
  420. YoutubeSearchIE,
  421. YoutubeSearchURLIE,
  422. YoutubeShowIE,
  423. YoutubeSubscriptionsIE,
  424. YoutubeTopListIE,
  425. YoutubeTruncatedURLIE,
  426. YoutubeUserIE,
  427. YoutubeWatchLaterIE,
  428. )
  429. from .zdf import ZDFIE
  430. _ALL_CLASSES = [
  431. klass
  432. for name, klass in globals().items()
  433. if name.endswith('IE') and name != 'GenericIE'
  434. ]
  435. _ALL_CLASSES.append(GenericIE)
  436. def gen_extractors():
  437. """ Return a list of an instance of every supported extractor.
  438. The order does matter; the first extractor matched is the one handling the URL.
  439. """
  440. return [klass() for klass in _ALL_CLASSES]
  441. def get_info_extractor(ie_name):
  442. """Returns the info extractor class with the given ie_name"""
  443. return globals()[ie_name+'IE']