__init__.py 11 KB

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