__init__.py 12 KB

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