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.

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