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.

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