__init__.py 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421
  1. from .academicearth import AcademicEarthCourseIE
  2. from .addanime import AddAnimeIE
  3. from .adultswim import AdultSwimIE
  4. from .aftonbladet import AftonbladetIE
  5. from .anitube import AnitubeIE
  6. from .aol import AolIE
  7. from .allocine import AllocineIE
  8. from .aparat import AparatIE
  9. from .appletrailers import AppleTrailersIE
  10. from .archiveorg import ArchiveOrgIE
  11. from .ard import ARDIE
  12. from .arte import (
  13. ArteTvIE,
  14. ArteTVPlus7IE,
  15. ArteTVCreativeIE,
  16. ArteTVConcertIE,
  17. ArteTVFutureIE,
  18. ArteTVDDCIE,
  19. ArteTVEmbedIE,
  20. )
  21. from .auengine import AUEngineIE
  22. from .bambuser import BambuserIE, BambuserChannelIE
  23. from .bandcamp import BandcampIE, BandcampAlbumIE
  24. from .bbccouk import BBCCoUkIE
  25. from .bilibili import BiliBiliIE
  26. from .blinkx import BlinkxIE
  27. from .bliptv import BlipTVIE, BlipTVUserIE
  28. from .bloomberg import BloombergIE
  29. from .br import BRIE
  30. from .breakcom import BreakIE
  31. from .brightcove import BrightcoveIE
  32. from .byutv import BYUtvIE
  33. from .c56 import C56IE
  34. from .canal13cl import Canal13clIE
  35. from .canalplus import CanalplusIE
  36. from .canalc2 import Canalc2IE
  37. from .cbs import CBSIE
  38. from .cbsnews import CBSNewsIE
  39. from .ceskatelevize import CeskaTelevizeIE
  40. from .channel9 import Channel9IE
  41. from .chilloutzone import ChilloutzoneIE
  42. from .cinemassacre import CinemassacreIE
  43. from .clipfish import ClipfishIE
  44. from .cliphunter import CliphunterIE
  45. from .clipsyndicate import ClipsyndicateIE
  46. from .clubic import ClubicIE
  47. from .cmt import CMTIE
  48. from .cnet import CNETIE
  49. from .cnn import (
  50. CNNIE,
  51. CNNBlogsIE,
  52. )
  53. from .collegehumor import CollegeHumorIE
  54. from .comedycentral import ComedyCentralIE, ComedyCentralShowsIE
  55. from .condenast import CondeNastIE
  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 .mlb import MLBIE
  175. from .mpora import MporaIE
  176. from .mofosex import MofosexIE
  177. from .mooshare import MooshareIE
  178. from .morningstar import MorningstarIE
  179. from .motherless import MotherlessIE
  180. from .motorsport import MotorsportIE
  181. from .moviezine import MoviezineIE
  182. from .movshare import MovShareIE
  183. from .mtv import (
  184. MTVIE,
  185. MTVServicesEmbeddedIE,
  186. MTVIggyIE,
  187. )
  188. from .musicplayon import MusicPlayOnIE
  189. from .muzu import MuzuTVIE
  190. from .myspace import MySpaceIE
  191. from .myspass import MySpassIE
  192. from .myvideo import MyVideoIE
  193. from .naver import NaverIE
  194. from .nba import NBAIE
  195. from .nbc import (
  196. NBCIE,
  197. NBCNewsIE,
  198. )
  199. from .ndr import NDRIE
  200. from .ndtv import NDTVIE
  201. from .newgrounds import NewgroundsIE
  202. from .newstube import NewstubeIE
  203. from .nfb import NFBIE
  204. from .nhl import NHLIE, NHLVideocenterIE
  205. from .niconico import NiconicoIE
  206. from .ninegag import NineGagIE
  207. from .noco import NocoIE
  208. from .normalboots import NormalbootsIE
  209. from .novamov import NovaMovIE
  210. from .nowness import NownessIE
  211. from .nowvideo import NowVideoIE
  212. from .npo import NPOIE
  213. from .nrk import (
  214. NRKIE,
  215. NRKTVIE,
  216. )
  217. from .ntv import NTVIE
  218. from .nytimes import NYTimesIE
  219. from .nuvid import NuvidIE
  220. from .oe1 import OE1IE
  221. from .ooyala import OoyalaIE
  222. from .orf import ORFIE
  223. from .parliamentliveuk import ParliamentLiveUKIE
  224. from .pbs import PBSIE
  225. from .photobucket import PhotobucketIE
  226. from .playvid import PlayvidIE
  227. from .podomatic import PodomaticIE
  228. from .pornhd import PornHdIE
  229. from .pornhub import PornHubIE
  230. from .pornotube import PornotubeIE
  231. from .prosiebensat1 import ProSiebenSat1IE
  232. from .pyvideo import PyvideoIE
  233. from .radiofrance import RadioFranceIE
  234. from .rai import RaiIE
  235. from .rbmaradio import RBMARadioIE
  236. from .redtube import RedTubeIE
  237. from .reverbnation import ReverbNationIE
  238. from .ringtv import RingTVIE
  239. from .ro220 import Ro220IE
  240. from .rottentomatoes import RottenTomatoesIE
  241. from .roxwel import RoxwelIE
  242. from .rtbf import RTBFIE
  243. from .rtlnow import RTLnowIE
  244. from .rts import RTSIE
  245. from .rtve import RTVEALaCartaIE
  246. from .ruhd import RUHDIE
  247. from .rutube import (
  248. RutubeIE,
  249. RutubeChannelIE,
  250. RutubeMovieIE,
  251. RutubePersonIE,
  252. )
  253. from .rutv import RUTVIE
  254. from .savefrom import SaveFromIE
  255. from .scivee import SciVeeIE
  256. from .screencast import ScreencastIE
  257. from .servingsys import ServingSysIE
  258. from .sina import SinaIE
  259. from .slideshare import SlideshareIE
  260. from .slutload import SlutloadIE
  261. from .smotri import (
  262. SmotriIE,
  263. SmotriCommunityIE,
  264. SmotriUserIE,
  265. SmotriBroadcastIE,
  266. )
  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']