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.

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