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.

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