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.

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