You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

550 lines
15 KiB

11 years ago
11 years ago
12 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
12 years ago
11 years ago
  1. from __future__ import unicode_literals
  2. from .abc import ABCIE
  3. from .academicearth import AcademicEarthCourseIE
  4. from .addanime import AddAnimeIE
  5. from .adultswim import AdultSwimIE
  6. from .aftonbladet import AftonbladetIE
  7. from .anitube import AnitubeIE
  8. from .anysex import AnySexIE
  9. from .aol import AolIE
  10. from .allocine import AllocineIE
  11. from .aparat import AparatIE
  12. from .appletrailers import AppleTrailersIE
  13. from .archiveorg import ArchiveOrgIE
  14. from .ard import ARDIE, ARDMediathekIE
  15. from .arte import (
  16. ArteTvIE,
  17. ArteTVPlus7IE,
  18. ArteTVCreativeIE,
  19. ArteTVConcertIE,
  20. ArteTVFutureIE,
  21. ArteTVDDCIE,
  22. ArteTVEmbedIE,
  23. )
  24. from .audiomack import AudiomackIE
  25. from .auengine import AUEngineIE
  26. from .azubu import AzubuIE
  27. from .bambuser import BambuserIE, BambuserChannelIE
  28. from .bandcamp import BandcampIE, BandcampAlbumIE
  29. from .bbccouk import BBCCoUkIE
  30. from .beeg import BeegIE
  31. from .behindkink import BehindKinkIE
  32. from .bild import BildIE
  33. from .bilibili import BiliBiliIE
  34. from .blinkx import BlinkxIE
  35. from .bliptv import BlipTVIE, BlipTVUserIE
  36. from .bloomberg import BloombergIE
  37. from .bpb import BpbIE
  38. from .br import BRIE
  39. from .breakcom import BreakIE
  40. from .brightcove import BrightcoveIE
  41. from .buzzfeed import BuzzFeedIE
  42. from .byutv import BYUtvIE
  43. from .c56 import C56IE
  44. from .canal13cl import Canal13clIE
  45. from .canalplus import CanalplusIE
  46. from .canalc2 import Canalc2IE
  47. from .cbs import CBSIE
  48. from .cbsnews import CBSNewsIE
  49. from .ceskatelevize import CeskaTelevizeIE
  50. from .channel9 import Channel9IE
  51. from .chilloutzone import ChilloutzoneIE
  52. from .cinemassacre import CinemassacreIE
  53. from .clipfish import ClipfishIE
  54. from .cliphunter import CliphunterIE
  55. from .clipsyndicate import ClipsyndicateIE
  56. from .cloudy import CloudyIE
  57. from .clubic import ClubicIE
  58. from .cmt import CMTIE
  59. from .cnet import CNETIE
  60. from .cnn import (
  61. CNNIE,
  62. CNNBlogsIE,
  63. )
  64. from .collegehumor import CollegeHumorIE
  65. from .comedycentral import ComedyCentralIE, ComedyCentralShowsIE
  66. from .condenast import CondeNastIE
  67. from .cracked import CrackedIE
  68. from .criterion import CriterionIE
  69. from .crunchyroll import (
  70. CrunchyrollIE,
  71. CrunchyrollShowPlaylistIE
  72. )
  73. from .cspan import CSpanIE
  74. from .dailymotion import (
  75. DailymotionIE,
  76. DailymotionPlaylistIE,
  77. DailymotionUserIE,
  78. )
  79. from .daum import DaumIE
  80. from .dbtv import DBTVIE
  81. from .deezer import DeezerPlaylistIE
  82. from .dfb import DFBIE
  83. from .dotsub import DotsubIE
  84. from .dreisat import DreiSatIE
  85. from .drtuber import DrTuberIE
  86. from .drtv import DRTVIE
  87. from .dump import DumpIE
  88. from .defense import DefenseGouvFrIE
  89. from .discovery import DiscoveryIE
  90. from .divxstage import DivxStageIE
  91. from .dropbox import DropboxIE
  92. from .ebaumsworld import EbaumsWorldIE
  93. from .ehow import EHowIE
  94. from .eighttracks import EightTracksIE
  95. from .einthusan import EinthusanIE
  96. from .eitb import EitbIE
  97. from .ellentv import (
  98. EllenTVIE,
  99. EllenTVClipsIE,
  100. )
  101. from .elpais import ElPaisIE
  102. from .empflix import EMPFlixIE
  103. from .engadget import EngadgetIE
  104. from .eporner import EpornerIE
  105. from .escapist import EscapistIE
  106. from .everyonesmixtape import EveryonesMixtapeIE
  107. from .exfm import ExfmIE
  108. from .expotv import ExpoTVIE
  109. from .extremetube import ExtremeTubeIE
  110. from .facebook import FacebookIE
  111. from .faz import FazIE
  112. from .fc2 import FC2IE
  113. from .firedrive import FiredriveIE
  114. from .firstpost import FirstpostIE
  115. from .firsttv import FirstTVIE
  116. from .fivemin import FiveMinIE
  117. from .fktv import (
  118. FKTVIE,
  119. FKTVPosteckeIE,
  120. )
  121. from .flickr import FlickrIE
  122. from .folketinget import FolketingetIE
  123. from .fourtube import FourTubeIE
  124. from .foxgay import FoxgayIE
  125. from .foxnews import FoxNewsIE
  126. from .franceculture import FranceCultureIE
  127. from .franceinter import FranceInterIE
  128. from .francetv import (
  129. PluzzIE,
  130. FranceTvInfoIE,
  131. FranceTVIE,
  132. GenerationQuoiIE,
  133. CultureboxIE,
  134. )
  135. from .freesound import FreesoundIE
  136. from .freespeech import FreespeechIE
  137. from .freevideo import FreeVideoIE
  138. from .funnyordie import FunnyOrDieIE
  139. from .gamekings import GamekingsIE
  140. from .gameone import (
  141. GameOneIE,
  142. GameOnePlaylistIE,
  143. )
  144. from .gamespot import GameSpotIE
  145. from .gamestar import GameStarIE
  146. from .gametrailers import GametrailersIE
  147. from .gdcvault import GDCVaultIE
  148. from .generic import GenericIE
  149. from .glide import GlideIE
  150. from .globo import GloboIE
  151. from .godtube import GodTubeIE
  152. from .goldenmoustache import GoldenMoustacheIE
  153. from .golem import GolemIE
  154. from .googleplus import GooglePlusIE
  155. from .googlesearch import GoogleSearchIE
  156. from .gorillavid import GorillaVidIE
  157. from .goshgay import GoshgayIE
  158. from .grooveshark import GroovesharkIE
  159. from .hark import HarkIE
  160. from .heise import HeiseIE
  161. from .helsinki import HelsinkiIE
  162. from .hentaistigma import HentaiStigmaIE
  163. from .hornbunny import HornBunnyIE
  164. from .hostingbulk import HostingBulkIE
  165. from .hotnewhiphop import HotNewHipHopIE
  166. from .howcast import HowcastIE
  167. from .howstuffworks import HowStuffWorksIE
  168. from .huffpost import HuffPostIE
  169. from .hypem import HypemIE
  170. from .iconosquare import IconosquareIE
  171. from .ign import IGNIE, OneUPIE
  172. from .imdb import (
  173. ImdbIE,
  174. ImdbListIE
  175. )
  176. from .ina import InaIE
  177. from .infoq import InfoQIE
  178. from .instagram import InstagramIE, InstagramUserIE
  179. from .internetvideoarchive import InternetVideoArchiveIE
  180. from .iprima import IPrimaIE
  181. from .ivi import (
  182. IviIE,
  183. IviCompilationIE
  184. )
  185. from .izlesene import IzleseneIE
  186. from .jadorecettepub import JadoreCettePubIE
  187. from .jeuxvideo import JeuxVideoIE
  188. from .jove import JoveIE
  189. from .jukebox import JukeboxIE
  190. from .jpopsukitv import JpopsukiIE
  191. from .kankan import KankanIE
  192. from .keezmovies import KeezMoviesIE
  193. from .khanacademy import KhanAcademyIE
  194. from .kickstarter import KickStarterIE
  195. from .keek import KeekIE
  196. from .kontrtube import KontrTubeIE
  197. from .krasview import KrasViewIE
  198. from .ku6 import Ku6IE
  199. from .la7 import LA7IE
  200. from .laola1tv import Laola1TvIE
  201. from .lifenews import LifeNewsIE
  202. from .liveleak import LiveLeakIE
  203. from .livestream import (
  204. LivestreamIE,
  205. LivestreamOriginalIE,
  206. LivestreamShortenerIE,
  207. )
  208. from .lrt import LRTIE
  209. from .lynda import (
  210. LyndaIE,
  211. LyndaCourseIE
  212. )
  213. from .m6 import M6IE
  214. from .macgamestore import MacGameStoreIE
  215. from .mailru import MailRuIE
  216. from .malemotion import MalemotionIE
  217. from .mdr import MDRIE
  218. from .metacafe import MetacafeIE
  219. from .metacritic import MetacriticIE
  220. from .mgoon import MgoonIE
  221. from .minhateca import MinhatecaIE
  222. from .ministrygrid import MinistryGridIE
  223. from .mit import TechTVMITIE, MITIE, OCWMITIE
  224. from .mitele import MiTeleIE
  225. from .mixcloud import MixcloudIE
  226. from .mlb import MLBIE
  227. from .mpora import MporaIE
  228. from .moevideo import MoeVideoIE
  229. from .mofosex import MofosexIE
  230. from .mojvideo import MojvideoIE
  231. from .moniker import MonikerIE
  232. from .mooshare import MooshareIE
  233. from .morningstar import MorningstarIE
  234. from .motherless import MotherlessIE
  235. from .motorsport import MotorsportIE
  236. from .movieclips import MovieClipsIE
  237. from .moviezine import MoviezineIE
  238. from .movshare import MovShareIE
  239. from .mtv import (
  240. MTVIE,
  241. MTVServicesEmbeddedIE,
  242. MTVIggyIE,
  243. )
  244. from .muenchentv import MuenchenTVIE
  245. from .musicplayon import MusicPlayOnIE
  246. from .musicvault import MusicVaultIE
  247. from .muzu import MuzuTVIE
  248. from .myspace import MySpaceIE, MySpaceAlbumIE
  249. from .myspass import MySpassIE
  250. from .myvideo import MyVideoIE
  251. from .myvidster import MyVidsterIE
  252. from .naver import NaverIE
  253. from .nba import NBAIE
  254. from .nbc import (
  255. NBCIE,
  256. NBCNewsIE,
  257. )
  258. from .ndr import NDRIE
  259. from .ndtv import NDTVIE
  260. from .newgrounds import NewgroundsIE
  261. from .newstube import NewstubeIE
  262. from .nfb import NFBIE
  263. from .nfl import NFLIE
  264. from .nhl import NHLIE, NHLVideocenterIE
  265. from .niconico import NiconicoIE, NiconicoPlaylistIE
  266. from .ninegag import NineGagIE
  267. from .noco import NocoIE
  268. from .normalboots import NormalbootsIE
  269. from .nosvideo import NosVideoIE
  270. from .novamov import NovaMovIE
  271. from .nowness import NownessIE
  272. from .nowvideo import NowVideoIE
  273. from .npo import (
  274. NPOIE,
  275. TegenlichtVproIE,
  276. )
  277. from .nrk import (
  278. NRKIE,
  279. NRKTVIE,
  280. )
  281. from .ntv import NTVIE
  282. from .nytimes import NYTimesIE
  283. from .nuvid import NuvidIE
  284. from .oktoberfesttv import OktoberfestTVIE
  285. from .ooyala import OoyalaIE
  286. from .orf import (
  287. ORFTVthekIE,
  288. ORFOE1IE,
  289. ORFFM4IE,
  290. )
  291. from .parliamentliveuk import ParliamentLiveUKIE
  292. from .patreon import PatreonIE
  293. from .pbs import PBSIE
  294. from .phoenix import PhoenixIE
  295. from .photobucket import PhotobucketIE
  296. from .planetaplay import PlanetaPlayIE
  297. from .played import PlayedIE
  298. from .playfm import PlayFMIE
  299. from .playvid import PlayvidIE
  300. from .podomatic import PodomaticIE
  301. from .pornhd import PornHdIE
  302. from .pornhub import PornHubIE
  303. from .pornotube import PornotubeIE
  304. from .pornoxo import PornoXOIE
  305. from .promptfile import PromptFileIE
  306. from .prosiebensat1 import ProSiebenSat1IE
  307. from .pyvideo import PyvideoIE
  308. from .quickvid import QuickVidIE
  309. from .radiofrance import RadioFranceIE
  310. from .rai import RaiIE
  311. from .rbmaradio import RBMARadioIE
  312. from .redtube import RedTubeIE
  313. from .reverbnation import ReverbNationIE
  314. from .ringtv import RingTVIE
  315. from .ro220 import Ro220IE
  316. from .rottentomatoes import RottenTomatoesIE
  317. from .roxwel import RoxwelIE
  318. from .rtbf import RTBFIE
  319. from .rtlnl import RtlXlIE
  320. from .rtlnow import RTLnowIE
  321. from .rts import RTSIE
  322. from .rtve import RTVEALaCartaIE, RTVELiveIE
  323. from .ruhd import RUHDIE
  324. from .rutube import (
  325. RutubeIE,
  326. RutubeChannelIE,
  327. RutubeMovieIE,
  328. RutubePersonIE,
  329. )
  330. from .rutv import RUTVIE
  331. from .sapo import SapoIE
  332. from .savefrom import SaveFromIE
  333. from .sbs import SBSIE
  334. from .scivee import SciVeeIE
  335. from .screencast import ScreencastIE
  336. from .servingsys import ServingSysIE
  337. from .sexu import SexuIE
  338. from .sexykarma import SexyKarmaIE
  339. from .shared import SharedIE
  340. from .sharesix import ShareSixIE
  341. from .sina import SinaIE
  342. from .slideshare import SlideshareIE
  343. from .slutload import SlutloadIE
  344. from .smotri import (
  345. SmotriIE,
  346. SmotriCommunityIE,
  347. SmotriUserIE,
  348. SmotriBroadcastIE,
  349. )
  350. from .snotr import SnotrIE
  351. from .sockshare import SockshareIE
  352. from .sohu import SohuIE
  353. from .soundcloud import (
  354. SoundcloudIE,
  355. SoundcloudSetIE,
  356. SoundcloudUserIE,
  357. SoundcloudPlaylistIE
  358. )
  359. from .soundgasm import SoundgasmIE
  360. from .southpark import (
  361. SouthParkIE,
  362. SouthparkDeIE,
  363. )
  364. from .space import SpaceIE
  365. from .spankwire import SpankwireIE
  366. from .spiegel import SpiegelIE, SpiegelArticleIE
  367. from .spiegeltv import SpiegeltvIE
  368. from .spike import SpikeIE
  369. from .sport5 import Sport5IE
  370. from .sportbox import SportBoxIE
  371. from .sportdeutschland import SportDeutschlandIE
  372. from .srmediathek import SRMediathekIE
  373. from .stanfordoc import StanfordOpenClassroomIE
  374. from .steam import SteamIE
  375. from .streamcloud import StreamcloudIE
  376. from .streamcz import StreamCZIE
  377. from .sunporno import SunPornoIE
  378. from .swrmediathek import SWRMediathekIE
  379. from .syfy import SyfyIE
  380. from .sztvhu import SztvHuIE
  381. from .tagesschau import TagesschauIE
  382. from .tapely import TapelyIE
  383. from .tass import TassIE
  384. from .teachertube import (
  385. TeacherTubeIE,
  386. TeacherTubeUserIE,
  387. )
  388. from .teachingchannel import TeachingChannelIE
  389. from .teamcoco import TeamcocoIE
  390. from .techtalks import TechTalksIE
  391. from .ted import TEDIE
  392. from .telebruxelles import TeleBruxellesIE
  393. from .telecinco import TelecincoIE
  394. from .telemb import TeleMBIE
  395. from .tenplay import TenPlayIE
  396. from .testurl import TestURLIE
  397. from .tf1 import TF1IE
  398. from .theonion import TheOnionIE
  399. from .theplatform import ThePlatformIE
  400. from .thesixtyone import TheSixtyOneIE
  401. from .thisav import ThisAVIE
  402. from .tinypic import TinyPicIE
  403. from .tlc import TlcIE, TlcDeIE
  404. from .tmz import TMZIE
  405. from .tnaflix import TNAFlixIE
  406. from .thvideo import (
  407. THVideoIE,
  408. THVideoPlaylistIE
  409. )
  410. from .toutv import TouTvIE
  411. from .toypics import ToypicsUserIE, ToypicsIE
  412. from .traileraddict import TrailerAddictIE
  413. from .trilulilu import TriluliluIE
  414. from .trutube import TruTubeIE
  415. from .tube8 import Tube8IE
  416. from .tudou import TudouIE
  417. from .tumblr import TumblrIE
  418. from .tunein import TuneInIE
  419. from .turbo import TurboIE
  420. from .tutv import TutvIE
  421. from .tvigle import TvigleIE
  422. from .tvp import TvpIE
  423. from .tvplay import TVPlayIE
  424. from .twentyfourvideo import TwentyFourVideoIE
  425. from .twitch import TwitchIE
  426. from .ubu import UbuIE
  427. from .udemy import (
  428. UdemyIE,
  429. UdemyCourseIE
  430. )
  431. from .unistra import UnistraIE
  432. from .urort import UrortIE
  433. from .ustream import UstreamIE, UstreamChannelIE
  434. from .vbox7 import Vbox7IE
  435. from .veehd import VeeHDIE
  436. from .veoh import VeohIE
  437. from .vesti import VestiIE
  438. from .vevo import VevoIE
  439. from .vgtv import VGTVIE
  440. from .vh1 import VH1IE
  441. from .vice import ViceIE
  442. from .viddler import ViddlerIE
  443. from .videobam import VideoBamIE
  444. from .videodetective import VideoDetectiveIE
  445. from .videolecturesnet import VideoLecturesNetIE
  446. from .videofyme import VideofyMeIE
  447. from .videomega import VideoMegaIE
  448. from .videopremium import VideoPremiumIE
  449. from .videott import VideoTtIE
  450. from .videoweed import VideoWeedIE
  451. from .vidme import VidmeIE
  452. from .vidzi import VidziIE
  453. from .vimeo import (
  454. VimeoIE,
  455. VimeoAlbumIE,
  456. VimeoChannelIE,
  457. VimeoGroupsIE,
  458. VimeoLikesIE,
  459. VimeoReviewIE,
  460. VimeoUserIE,
  461. VimeoWatchLaterIE,
  462. )
  463. from .vimple import VimpleIE
  464. from .vine import (
  465. VineIE,
  466. VineUserIE,
  467. )
  468. from .viki import VikiIE
  469. from .vk import (
  470. VKIE,
  471. VKUserVideosIE,
  472. )
  473. from .vodlocker import VodlockerIE
  474. from .vporn import VpornIE
  475. from .vrt import VRTIE
  476. from .vube import VubeIE
  477. from .vuclip import VuClipIE
  478. from .vulture import VultureIE
  479. from .walla import WallaIE
  480. from .washingtonpost import WashingtonPostIE
  481. from .wat import WatIE
  482. from .wayofthemaster import WayOfTheMasterIE
  483. from .wdr import (
  484. WDRIE,
  485. WDRMobileIE,
  486. WDRMausIE,
  487. )
  488. from .weibo import WeiboIE
  489. from .wimp import WimpIE
  490. from .wistia import WistiaIE
  491. from .worldstarhiphop import WorldStarHipHopIE
  492. from .wrzuta import WrzutaIE
  493. from .xbef import XBefIE
  494. from .xboxclips import XboxClipsIE
  495. from .xhamster import XHamsterIE
  496. from .xminus import XMinusIE
  497. from .xnxx import XNXXIE
  498. from .xvideos import XVideosIE
  499. from .xtube import XTubeUserIE, XTubeIE
  500. from .yahoo import (
  501. YahooIE,
  502. YahooSearchIE,
  503. )
  504. from .ynet import YnetIE
  505. from .youjizz import YouJizzIE
  506. from .youku import YoukuIE
  507. from .youporn import YouPornIE
  508. from .yourupload import YourUploadIE
  509. from .youtube import (
  510. YoutubeIE,
  511. YoutubeChannelIE,
  512. YoutubeFavouritesIE,
  513. YoutubeHistoryIE,
  514. YoutubePlaylistIE,
  515. YoutubeRecommendedIE,
  516. YoutubeSearchDateIE,
  517. YoutubeSearchIE,
  518. YoutubeSearchURLIE,
  519. YoutubeShowIE,
  520. YoutubeSubscriptionsIE,
  521. YoutubeTopListIE,
  522. YoutubeTruncatedURLIE,
  523. YoutubeUserIE,
  524. YoutubeWatchLaterIE,
  525. )
  526. from .zdf import ZDFIE
  527. from .zingmp3 import (
  528. ZingMp3SongIE,
  529. ZingMp3AlbumIE,
  530. )
  531. _ALL_CLASSES = [
  532. klass
  533. for name, klass in globals().items()
  534. if name.endswith('IE') and name != 'GenericIE'
  535. ]
  536. _ALL_CLASSES.append(GenericIE)
  537. def gen_extractors():
  538. """ Return a list of an instance of every supported extractor.
  539. The order does matter; the first extractor matched is the one handling the URL.
  540. """
  541. return [klass() for klass in _ALL_CLASSES]
  542. def get_info_extractor(ie_name):
  543. """Returns the info extractor class with the given ie_name"""
  544. return globals()[ie_name + 'IE']