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.

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