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.

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