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
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 .cinemassacre import CinemassacreIE
  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 .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
  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']