__init__.py 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422
  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 .cracked import CrackedIE
  56. from .criterion import CriterionIE
  57. from .crunchyroll import CrunchyrollIE
  58. from .cspan import CSpanIE
  59. from .d8 import D8IE
  60. from .dailymotion import (
  61. DailymotionIE,
  62. DailymotionPlaylistIE,
  63. DailymotionUserIE,
  64. )
  65. from .daum import DaumIE
  66. from .dotsub import DotsubIE
  67. from .dreisat import DreiSatIE
  68. from .drtv import DRTVIE
  69. from .defense import DefenseGouvFrIE
  70. from .discovery import DiscoveryIE
  71. from .divxstage import DivxStageIE
  72. from .dropbox import DropboxIE
  73. from .ebaumsworld import EbaumsWorldIE
  74. from .ehow import EHowIE
  75. from .eighttracks import EightTracksIE
  76. from .eitb import EitbIE
  77. from .elpais import ElPaisIE
  78. from .empflix import EmpflixIE
  79. from .engadget import EngadgetIE
  80. from .escapist import EscapistIE
  81. from .everyonesmixtape import EveryonesMixtapeIE
  82. from .exfm import ExfmIE
  83. from .extremetube import ExtremeTubeIE
  84. from .facebook import FacebookIE
  85. from .faz import FazIE
  86. from .fc2 import FC2IE
  87. from .firedrive import FiredriveIE
  88. from .firstpost import FirstpostIE
  89. from .firsttv import FirstTVIE
  90. from .fivemin import FiveMinIE
  91. from .fktv import (
  92. FKTVIE,
  93. FKTVPosteckeIE,
  94. )
  95. from .flickr import FlickrIE
  96. from .fourtube import FourTubeIE
  97. from .franceculture import FranceCultureIE
  98. from .franceinter import FranceInterIE
  99. from .francetv import (
  100. PluzzIE,
  101. FranceTvInfoIE,
  102. FranceTVIE,
  103. GenerationQuoiIE,
  104. CultureboxIE,
  105. )
  106. from .freesound import FreesoundIE
  107. from .freespeech import FreespeechIE
  108. from .funnyordie import FunnyOrDieIE
  109. from .gamekings import GamekingsIE
  110. from .gameone import GameOneIE
  111. from .gamespot import GameSpotIE
  112. from .gametrailers import GametrailersIE
  113. from .gdcvault import GDCVaultIE
  114. from .generic import GenericIE
  115. from .googleplus import GooglePlusIE
  116. from .googlesearch import GoogleSearchIE
  117. from .gorillavid import GorillaVidIE
  118. from .goshgay import GoshgayIE
  119. from .hark import HarkIE
  120. from .helsinki import HelsinkiIE
  121. from .hentaistigma import HentaiStigmaIE
  122. from .hotnewhiphop import HotNewHipHopIE
  123. from .howcast import HowcastIE
  124. from .huffpost import HuffPostIE
  125. from .hypem import HypemIE
  126. from .iconosquare import IconosquareIE
  127. from .ign import IGNIE, OneUPIE
  128. from .imdb import (
  129. ImdbIE,
  130. ImdbListIE
  131. )
  132. from .ina import InaIE
  133. from .infoq import InfoQIE
  134. from .instagram import InstagramIE, InstagramUserIE
  135. from .internetvideoarchive import InternetVideoArchiveIE
  136. from .iprima import IPrimaIE
  137. from .ivi import (
  138. IviIE,
  139. IviCompilationIE
  140. )
  141. from .jadorecettepub import JadoreCettePubIE
  142. from .jeuxvideo import JeuxVideoIE
  143. from .jukebox import JukeboxIE
  144. from .justintv import JustinTVIE
  145. from .jpopsukitv import JpopsukiIE
  146. from .kankan import KankanIE
  147. from .keezmovies import KeezMoviesIE
  148. from .khanacademy import KhanAcademyIE
  149. from .kickstarter import KickStarterIE
  150. from .keek import KeekIE
  151. from .kontrtube import KontrTubeIE
  152. from .ku6 import Ku6IE
  153. from .la7 import LA7IE
  154. from .lifenews import LifeNewsIE
  155. from .liveleak import LiveLeakIE
  156. from .livestream import (
  157. LivestreamIE,
  158. LivestreamOriginalIE,
  159. LivestreamShortenerIE,
  160. )
  161. from .lynda import (
  162. LyndaIE,
  163. LyndaCourseIE
  164. )
  165. from .m6 import M6IE
  166. from .macgamestore import MacGameStoreIE
  167. from .mailru import MailRuIE
  168. from .malemotion import MalemotionIE
  169. from .mdr import MDRIE
  170. from .metacafe import MetacafeIE
  171. from .metacritic import MetacriticIE
  172. from .mit import TechTVMITIE, MITIE, OCWMITIE
  173. from .mixcloud import MixcloudIE
  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 .snotr import SnotrIE
  267. from .sohu import SohuIE
  268. from .soundcloud import (
  269. SoundcloudIE,
  270. SoundcloudSetIE,
  271. SoundcloudUserIE,
  272. SoundcloudPlaylistIE
  273. )
  274. from .soundgasm import SoundgasmIE
  275. from .southpark import (
  276. SouthParkIE,
  277. SouthparkDeIE,
  278. )
  279. from .space import SpaceIE
  280. from .spankwire import SpankwireIE
  281. from .spiegel import SpiegelIE
  282. from .spiegeltv import SpiegeltvIE
  283. from .spike import SpikeIE
  284. from .stanfordoc import StanfordOpenClassroomIE
  285. from .steam import SteamIE
  286. from .streamcloud import StreamcloudIE
  287. from .streamcz import StreamCZIE
  288. from .swrmediathek import SWRMediathekIE
  289. from .syfy import SyfyIE
  290. from .sztvhu import SztvHuIE
  291. from .tagesschau import TagesschauIE
  292. from .teachertube import (
  293. TeacherTubeIE,
  294. TeacherTubeUserIE,
  295. )
  296. from .teachingchannel import TeachingChannelIE
  297. from .teamcoco import TeamcocoIE
  298. from .techtalks import TechTalksIE
  299. from .ted import TEDIE
  300. from .tenplay import TenPlayIE
  301. from .testurl import TestURLIE
  302. from .tf1 import TF1IE
  303. from .theplatform import ThePlatformIE
  304. from .thisav import ThisAVIE
  305. from .tinypic import TinyPicIE
  306. from .tlc import TlcIE, TlcDeIE
  307. from .toutv import TouTvIE
  308. from .toypics import ToypicsUserIE, ToypicsIE
  309. from .traileraddict import TrailerAddictIE
  310. from .trilulilu import TriluliluIE
  311. from .trutube import TruTubeIE
  312. from .tube8 import Tube8IE
  313. from .tudou import TudouIE
  314. from .tumblr import TumblrIE
  315. from .tutv import TutvIE
  316. from .tvigle import TvigleIE
  317. from .tvp import TvpIE
  318. from .udemy import (
  319. UdemyIE,
  320. UdemyCourseIE
  321. )
  322. from .unistra import UnistraIE
  323. from .urort import UrortIE
  324. from .ustream import UstreamIE, UstreamChannelIE
  325. from .vbox7 import Vbox7IE
  326. from .veehd import VeeHDIE
  327. from .veoh import VeohIE
  328. from .vesti import VestiIE
  329. from .vevo import VevoIE
  330. from .vh1 import VH1IE
  331. from .viddler import ViddlerIE
  332. from .videobam import VideoBamIE
  333. from .videodetective import VideoDetectiveIE
  334. from .videolecturesnet import VideoLecturesNetIE
  335. from .videofyme import VideofyMeIE
  336. from .videopremium import VideoPremiumIE
  337. from .videott import VideoTtIE
  338. from .videoweed import VideoWeedIE
  339. from .vimeo import (
  340. VimeoIE,
  341. VimeoChannelIE,
  342. VimeoUserIE,
  343. VimeoAlbumIE,
  344. VimeoGroupsIE,
  345. VimeoReviewIE,
  346. VimeoWatchLaterIE,
  347. )
  348. from .vimple import VimpleIE
  349. from .vine import (
  350. VineIE,
  351. VineUserIE,
  352. )
  353. from .viki import VikiIE
  354. from .vk import VKIE
  355. from .vodlocker import VodlockerIE
  356. from .vube import VubeIE
  357. from .vuclip import VuClipIE
  358. from .vulture import VultureIE
  359. from .washingtonpost import WashingtonPostIE
  360. from .wat import WatIE
  361. from .wdr import (
  362. WDRIE,
  363. WDRMobileIE,
  364. WDRMausIE,
  365. )
  366. from .weibo import WeiboIE
  367. from .wimp import WimpIE
  368. from .wistia import WistiaIE
  369. from .worldstarhiphop import WorldStarHipHopIE
  370. from .wrzuta import WrzutaIE
  371. from .xbef import XBefIE
  372. from .xhamster import XHamsterIE
  373. from .xnxx import XNXXIE
  374. from .xvideos import XVideosIE
  375. from .xtube import XTubeUserIE, XTubeIE
  376. from .yahoo import (
  377. YahooIE,
  378. YahooNewsIE,
  379. YahooSearchIE,
  380. )
  381. from .youjizz import YouJizzIE
  382. from .youku import YoukuIE
  383. from .youporn import YouPornIE
  384. from .youtube import (
  385. YoutubeIE,
  386. YoutubeChannelIE,
  387. YoutubeFavouritesIE,
  388. YoutubeHistoryIE,
  389. YoutubePlaylistIE,
  390. YoutubeRecommendedIE,
  391. YoutubeSearchDateIE,
  392. YoutubeSearchIE,
  393. YoutubeSearchURLIE,
  394. YoutubeShowIE,
  395. YoutubeSubscriptionsIE,
  396. YoutubeTopListIE,
  397. YoutubeTruncatedURLIE,
  398. YoutubeUserIE,
  399. YoutubeWatchLaterIE,
  400. )
  401. from .zdf import ZDFIE
  402. _ALL_CLASSES = [
  403. klass
  404. for name, klass in globals().items()
  405. if name.endswith('IE') and name != 'GenericIE'
  406. ]
  407. _ALL_CLASSES.append(GenericIE)
  408. def gen_extractors():
  409. """ Return a list of an instance of every supported extractor.
  410. The order does matter; the first extractor matched is the one handling the URL.
  411. """
  412. return [klass() for klass in _ALL_CLASSES]
  413. def get_info_extractor(ie_name):
  414. """Returns the info extractor class with the given ie_name"""
  415. return globals()[ie_name+'IE']