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