__init__.py 11 KB

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