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.

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