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.

577 lines
16 KiB

11 years ago
10 years ago
11 years ago
11 years ago
11 years ago
11 years ago
10 years ago
11 years ago
11 years ago
10 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. RutubeMovieIE,
  348. RutubePersonIE,
  349. )
  350. from .rutv import RUTVIE
  351. from .sapo import SapoIE
  352. from .savefrom import SaveFromIE
  353. from .sbs import SBSIE
  354. from .scivee import SciVeeIE
  355. from .screencast import ScreencastIE
  356. from .screencastomatic import ScreencastOMaticIE
  357. from .screenwavemedia import CinemassacreIE, ScreenwaveMediaIE, TeamFourIE
  358. from .servingsys import ServingSysIE
  359. from .sexu import SexuIE
  360. from .sexykarma import SexyKarmaIE
  361. from .shared import SharedIE
  362. from .sharesix import ShareSixIE
  363. from .sina import SinaIE
  364. from .slideshare import SlideshareIE
  365. from .slutload import SlutloadIE
  366. from .smotri import (
  367. SmotriIE,
  368. SmotriCommunityIE,
  369. SmotriUserIE,
  370. SmotriBroadcastIE,
  371. )
  372. from .snotr import SnotrIE
  373. from .sockshare import SockshareIE
  374. from .sohu import SohuIE
  375. from .soundcloud import (
  376. SoundcloudIE,
  377. SoundcloudSetIE,
  378. SoundcloudUserIE,
  379. SoundcloudPlaylistIE
  380. )
  381. from .soundgasm import SoundgasmIE
  382. from .southpark import (
  383. SouthParkIE,
  384. SouthparkDeIE,
  385. )
  386. from .space import SpaceIE
  387. from .spankwire import SpankwireIE
  388. from .spiegel import SpiegelIE, SpiegelArticleIE
  389. from .spiegeltv import SpiegeltvIE
  390. from .spike import SpikeIE
  391. from .sport5 import Sport5IE
  392. from .sportbox import SportBoxIE
  393. from .sportdeutschland import SportDeutschlandIE
  394. from .srmediathek import SRMediathekIE
  395. from .stanfordoc import StanfordOpenClassroomIE
  396. from .steam import SteamIE
  397. from .streamcloud import StreamcloudIE
  398. from .streamcz import StreamCZIE
  399. from .sunporno import SunPornoIE
  400. from .swrmediathek import SWRMediathekIE
  401. from .syfy import SyfyIE
  402. from .sztvhu import SztvHuIE
  403. from .tagesschau import TagesschauIE
  404. from .tapely import TapelyIE
  405. from .tass import TassIE
  406. from .teachertube import (
  407. TeacherTubeIE,
  408. TeacherTubeUserIE,
  409. )
  410. from .teachingchannel import TeachingChannelIE
  411. from .teamcoco import TeamcocoIE
  412. from .techtalks import TechTalksIE
  413. from .ted import TEDIE
  414. from .telebruxelles import TeleBruxellesIE
  415. from .telecinco import TelecincoIE
  416. from .telemb import TeleMBIE
  417. from .teletask import TeleTaskIE
  418. from .tenplay import TenPlayIE
  419. from .testurl import TestURLIE
  420. from .tf1 import TF1IE
  421. from .theonion import TheOnionIE
  422. from .theplatform import ThePlatformIE
  423. from .thesixtyone import TheSixtyOneIE
  424. from .thisav import ThisAVIE
  425. from .tinypic import TinyPicIE
  426. from .tlc import TlcIE, TlcDeIE
  427. from .tmz import TMZIE
  428. from .tnaflix import TNAFlixIE
  429. from .thvideo import (
  430. THVideoIE,
  431. THVideoPlaylistIE
  432. )
  433. from .toutv import TouTvIE
  434. from .toypics import ToypicsUserIE, ToypicsIE
  435. from .traileraddict import TrailerAddictIE
  436. from .trilulilu import TriluliluIE
  437. from .trutube import TruTubeIE
  438. from .tube8 import Tube8IE
  439. from .tudou import TudouIE
  440. from .tumblr import TumblrIE
  441. from .tunein import TuneInIE
  442. from .turbo import TurboIE
  443. from .tutv import TutvIE
  444. from .tvigle import TvigleIE
  445. from .tvp import TvpIE
  446. from .tvplay import TVPlayIE
  447. from .twentyfourvideo import TwentyFourVideoIE
  448. from .twitch import TwitchIE
  449. from .ubu import UbuIE
  450. from .udemy import (
  451. UdemyIE,
  452. UdemyCourseIE
  453. )
  454. from .unistra import UnistraIE
  455. from .urort import UrortIE
  456. from .ustream import UstreamIE, UstreamChannelIE
  457. from .vbox7 import Vbox7IE
  458. from .veehd import VeeHDIE
  459. from .veoh import VeohIE
  460. from .vesti import VestiIE
  461. from .vevo import VevoIE
  462. from .vgtv import VGTVIE
  463. from .vh1 import VH1IE
  464. from .vice import ViceIE
  465. from .viddler import ViddlerIE
  466. from .videobam import VideoBamIE
  467. from .videodetective import VideoDetectiveIE
  468. from .videolecturesnet import VideoLecturesNetIE
  469. from .videofyme import VideofyMeIE
  470. from .videomega import VideoMegaIE
  471. from .videopremium import VideoPremiumIE
  472. from .videott import VideoTtIE
  473. from .videoweed import VideoWeedIE
  474. from .vidme import VidmeIE
  475. from .vidzi import VidziIE
  476. from .vier import VierIE, VierVideosIE
  477. from .vimeo import (
  478. VimeoIE,
  479. VimeoAlbumIE,
  480. VimeoChannelIE,
  481. VimeoGroupsIE,
  482. VimeoLikesIE,
  483. VimeoReviewIE,
  484. VimeoUserIE,
  485. VimeoWatchLaterIE,
  486. )
  487. from .vimple import VimpleIE
  488. from .vine import (
  489. VineIE,
  490. VineUserIE,
  491. )
  492. from .viki import VikiIE
  493. from .vk import (
  494. VKIE,
  495. VKUserVideosIE,
  496. )
  497. from .vodlocker import VodlockerIE
  498. from .vporn import VpornIE
  499. from .vrt import VRTIE
  500. from .vube import VubeIE
  501. from .vuclip import VuClipIE
  502. from .vulture import VultureIE
  503. from .walla import WallaIE
  504. from .washingtonpost import WashingtonPostIE
  505. from .wat import WatIE
  506. from .wayofthemaster import WayOfTheMasterIE
  507. from .wdr import (
  508. WDRIE,
  509. WDRMobileIE,
  510. WDRMausIE,
  511. )
  512. from .weibo import WeiboIE
  513. from .wimp import WimpIE
  514. from .wistia import WistiaIE
  515. from .worldstarhiphop import WorldStarHipHopIE
  516. from .wrzuta import WrzutaIE
  517. from .xbef import XBefIE
  518. from .xboxclips import XboxClipsIE
  519. from .xhamster import XHamsterIE
  520. from .xminus import XMinusIE
  521. from .xnxx import XNXXIE
  522. from .xvideos import XVideosIE
  523. from .xtube import XTubeUserIE, XTubeIE
  524. from .xxxymovies import XXXYMoviesIE
  525. from .yahoo import (
  526. YahooIE,
  527. YahooSearchIE,
  528. )
  529. from .yesjapan import YesJapanIE
  530. from .ynet import YnetIE
  531. from .youjizz import YouJizzIE
  532. from .youku import YoukuIE
  533. from .youporn import YouPornIE
  534. from .yourupload import YourUploadIE
  535. from .youtube import (
  536. YoutubeIE,
  537. YoutubeChannelIE,
  538. YoutubeFavouritesIE,
  539. YoutubeHistoryIE,
  540. YoutubePlaylistIE,
  541. YoutubeRecommendedIE,
  542. YoutubeSearchDateIE,
  543. YoutubeSearchIE,
  544. YoutubeSearchURLIE,
  545. YoutubeShowIE,
  546. YoutubeSubscriptionsIE,
  547. YoutubeTopListIE,
  548. YoutubeTruncatedIDIE,
  549. YoutubeTruncatedURLIE,
  550. YoutubeUserIE,
  551. YoutubeWatchLaterIE,
  552. )
  553. from .zdf import ZDFIE, ZDFChannelIE
  554. from .zingmp3 import (
  555. ZingMp3SongIE,
  556. ZingMp3AlbumIE,
  557. )
  558. _ALL_CLASSES = [
  559. klass
  560. for name, klass in globals().items()
  561. if name.endswith('IE') and name != 'GenericIE'
  562. ]
  563. _ALL_CLASSES.append(GenericIE)
  564. def gen_extractors():
  565. """ Return a list of an instance of every supported extractor.
  566. The order does matter; the first extractor matched is the one handling the URL.
  567. """
  568. return [klass() for klass in _ALL_CLASSES]
  569. def get_info_extractor(ie_name):
  570. """Returns the info extractor class with the given ie_name"""
  571. return globals()[ie_name + 'IE']