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.

551 lines
15 KiB

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