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.

465 lines
12 KiB

11 years ago
10 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 .abc import ABCIE
  2. from .academicearth import AcademicEarthCourseIE
  3. from .addanime import AddAnimeIE
  4. from .adultswim import AdultSwimIE
  5. from .aftonbladet import AftonbladetIE
  6. from .anitube import AnitubeIE
  7. from .aol import AolIE
  8. from .allocine import AllocineIE
  9. from .aparat import AparatIE
  10. from .appletrailers import AppleTrailersIE
  11. from .archiveorg import ArchiveOrgIE
  12. from .ard import ARDIE, ARDMediathekIE
  13. from .arte import (
  14. ArteTvIE,
  15. ArteTVPlus7IE,
  16. ArteTVCreativeIE,
  17. ArteTVConcertIE,
  18. ArteTVFutureIE,
  19. ArteTVDDCIE,
  20. ArteTVEmbedIE,
  21. )
  22. from .auengine import AUEngineIE
  23. from .bambuser import BambuserIE, BambuserChannelIE
  24. from .bandcamp import BandcampIE, BandcampAlbumIE
  25. from .bbccouk import BBCCoUkIE
  26. from .bilibili import BiliBiliIE
  27. from .blinkx import BlinkxIE
  28. from .bliptv import BlipTVIE, BlipTVUserIE
  29. from .bloomberg import BloombergIE
  30. from .br import BRIE
  31. from .breakcom import BreakIE
  32. from .brightcove import BrightcoveIE
  33. from .byutv import BYUtvIE
  34. from .c56 import C56IE
  35. from .canal13cl import Canal13clIE
  36. from .canalplus import CanalplusIE
  37. from .canalc2 import Canalc2IE
  38. from .cbs import CBSIE
  39. from .cbsnews import CBSNewsIE
  40. from .ceskatelevize import CeskaTelevizeIE
  41. from .channel9 import Channel9IE
  42. from .chilloutzone import ChilloutzoneIE
  43. from .cinemassacre import CinemassacreIE
  44. from .clipfish import ClipfishIE
  45. from .cliphunter import CliphunterIE
  46. from .clipsyndicate import ClipsyndicateIE
  47. from .clubic import ClubicIE
  48. from .cmt import CMTIE
  49. from .cnet import CNETIE
  50. from .cnn import (
  51. CNNIE,
  52. CNNBlogsIE,
  53. )
  54. from .collegehumor import CollegeHumorIE
  55. from .comedycentral import ComedyCentralIE, ComedyCentralShowsIE
  56. from .condenast import CondeNastIE
  57. from .cracked import CrackedIE
  58. from .criterion import CriterionIE
  59. from .crunchyroll import CrunchyrollIE
  60. from .cspan import CSpanIE
  61. from .d8 import D8IE
  62. from .dailymotion import (
  63. DailymotionIE,
  64. DailymotionPlaylistIE,
  65. DailymotionUserIE,
  66. )
  67. from .daum import DaumIE
  68. from .dfb import DFBIE
  69. from .dotsub import DotsubIE
  70. from .dreisat import DreiSatIE
  71. from .drtv import DRTVIE
  72. from .dump import DumpIE
  73. from .defense import DefenseGouvFrIE
  74. from .discovery import DiscoveryIE
  75. from .divxstage import DivxStageIE
  76. from .dropbox import DropboxIE
  77. from .ebaumsworld import EbaumsWorldIE
  78. from .ehow import EHowIE
  79. from .eighttracks import EightTracksIE
  80. from .eitb import EitbIE
  81. from .ellentv import (
  82. EllenTVIE,
  83. EllenTVClipsIE,
  84. )
  85. from .elpais import ElPaisIE
  86. from .empflix import EmpflixIE
  87. from .engadget import EngadgetIE
  88. from .escapist import EscapistIE
  89. from .everyonesmixtape import EveryonesMixtapeIE
  90. from .exfm import ExfmIE
  91. from .expotv import ExpoTVIE
  92. from .extremetube import ExtremeTubeIE
  93. from .facebook import FacebookIE
  94. from .faz import FazIE
  95. from .fc2 import FC2IE
  96. from .firedrive import FiredriveIE
  97. from .firstpost import FirstpostIE
  98. from .firsttv import FirstTVIE
  99. from .fivemin import FiveMinIE
  100. from .fktv import (
  101. FKTVIE,
  102. FKTVPosteckeIE,
  103. )
  104. from .flickr import FlickrIE
  105. from .fourtube import FourTubeIE
  106. from .franceculture import FranceCultureIE
  107. from .franceinter import FranceInterIE
  108. from .francetv import (
  109. PluzzIE,
  110. FranceTvInfoIE,
  111. FranceTVIE,
  112. GenerationQuoiIE,
  113. CultureboxIE,
  114. )
  115. from .freesound import FreesoundIE
  116. from .freespeech import FreespeechIE
  117. from .funnyordie import FunnyOrDieIE
  118. from .gamekings import GamekingsIE
  119. from .gameone import (
  120. GameOneIE,
  121. GameOnePlaylistIE,
  122. )
  123. from .gamespot import GameSpotIE
  124. from .gamestar import GameStarIE
  125. from .gametrailers import GametrailersIE
  126. from .gdcvault import GDCVaultIE
  127. from .generic import GenericIE
  128. from .godtube import GodTubeIE
  129. from .googleplus import GooglePlusIE
  130. from .googlesearch import GoogleSearchIE
  131. from .gorillavid import GorillaVidIE
  132. from .goshgay import GoshgayIE
  133. from .grooveshark import GroovesharkIE
  134. from .hark import HarkIE
  135. from .helsinki import HelsinkiIE
  136. from .hentaistigma import HentaiStigmaIE
  137. from .hotnewhiphop import HotNewHipHopIE
  138. from .howcast import HowcastIE
  139. from .howstuffworks import HowStuffWorksIE
  140. from .huffpost import HuffPostIE
  141. from .hypem import HypemIE
  142. from .iconosquare import IconosquareIE
  143. from .ign import IGNIE, OneUPIE
  144. from .imdb import (
  145. ImdbIE,
  146. ImdbListIE
  147. )
  148. from .ina import InaIE
  149. from .infoq import InfoQIE
  150. from .instagram import InstagramIE, InstagramUserIE
  151. from .internetvideoarchive import InternetVideoArchiveIE
  152. from .iprima import IPrimaIE
  153. from .ivi import (
  154. IviIE,
  155. IviCompilationIE
  156. )
  157. from .izlesene import IzleseneIE
  158. from .jadorecettepub import JadoreCettePubIE
  159. from .jeuxvideo import JeuxVideoIE
  160. from .jove import JoveIE
  161. from .jukebox import JukeboxIE
  162. from .justintv import JustinTVIE
  163. from .jpopsukitv import JpopsukiIE
  164. from .kankan import KankanIE
  165. from .keezmovies import KeezMoviesIE
  166. from .khanacademy import KhanAcademyIE
  167. from .kickstarter import KickStarterIE
  168. from .keek import KeekIE
  169. from .kontrtube import KontrTubeIE
  170. from .krasview import KrasViewIE
  171. from .ku6 import Ku6IE
  172. from .la7 import LA7IE
  173. from .lifenews import LifeNewsIE
  174. from .liveleak import LiveLeakIE
  175. from .livestream import (
  176. LivestreamIE,
  177. LivestreamOriginalIE,
  178. LivestreamShortenerIE,
  179. )
  180. from .lynda import (
  181. LyndaIE,
  182. LyndaCourseIE
  183. )
  184. from .m6 import M6IE
  185. from .macgamestore import MacGameStoreIE
  186. from .mailru import MailRuIE
  187. from .malemotion import MalemotionIE
  188. from .mdr import MDRIE
  189. from .metacafe import MetacafeIE
  190. from .metacritic import MetacriticIE
  191. from .ministrygrid import MinistryGridIE
  192. from .mit import TechTVMITIE, MITIE, OCWMITIE
  193. from .mitele import MiTeleIE
  194. from .mixcloud import MixcloudIE
  195. from .mlb import MLBIE
  196. from .mpora import MporaIE
  197. from .mofosex import MofosexIE
  198. from .mojvideo import MojvideoIE
  199. from .mooshare import MooshareIE
  200. from .morningstar import MorningstarIE
  201. from .motherless import MotherlessIE
  202. from .motorsport import MotorsportIE
  203. from .movieclips import MovieClipsIE
  204. from .moviezine import MoviezineIE
  205. from .movshare import MovShareIE
  206. from .mtv import (
  207. MTVIE,
  208. MTVServicesEmbeddedIE,
  209. MTVIggyIE,
  210. )
  211. from .musicplayon import MusicPlayOnIE
  212. from .musicvault import MusicVaultIE
  213. from .muzu import MuzuTVIE
  214. from .myspace import MySpaceIE
  215. from .myspass import MySpassIE
  216. from .myvideo import MyVideoIE
  217. from .naver import NaverIE
  218. from .nba import NBAIE
  219. from .nbc import (
  220. NBCIE,
  221. NBCNewsIE,
  222. )
  223. from .ndr import NDRIE
  224. from .ndtv import NDTVIE
  225. from .newgrounds import NewgroundsIE
  226. from .newstube import NewstubeIE
  227. from .nfb import NFBIE
  228. from .nhl import NHLIE, NHLVideocenterIE
  229. from .niconico import NiconicoIE
  230. from .ninegag import NineGagIE
  231. from .noco import NocoIE
  232. from .normalboots import NormalbootsIE
  233. from .novamov import NovaMovIE
  234. from .nowness import NownessIE
  235. from .nowvideo import NowVideoIE
  236. from .npo import NPOIE
  237. from .nrk import (
  238. NRKIE,
  239. NRKTVIE,
  240. )
  241. from .ntv import NTVIE
  242. from .nytimes import NYTimesIE
  243. from .nuvid import NuvidIE
  244. from .ooyala import OoyalaIE
  245. from .orf import (
  246. ORFTVthekIE,
  247. ORFOE1IE,
  248. ORFFM4IE,
  249. )
  250. from .parliamentliveuk import ParliamentLiveUKIE
  251. from .patreon import PatreonIE
  252. from .pbs import PBSIE
  253. from .photobucket import PhotobucketIE
  254. from .playfm import PlayFMIE
  255. from .playvid import PlayvidIE
  256. from .podomatic import PodomaticIE
  257. from .pornhd import PornHdIE
  258. from .pornhub import PornHubIE
  259. from .pornotube import PornotubeIE
  260. from .promptfile import PromptFileIE
  261. from .prosiebensat1 import ProSiebenSat1IE
  262. from .pyvideo import PyvideoIE
  263. from .radiofrance import RadioFranceIE
  264. from .rai import RaiIE
  265. from .rbmaradio import RBMARadioIE
  266. from .redtube import RedTubeIE
  267. from .reverbnation import ReverbNationIE
  268. from .ringtv import RingTVIE
  269. from .ro220 import Ro220IE
  270. from .rottentomatoes import RottenTomatoesIE
  271. from .roxwel import RoxwelIE
  272. from .rtbf import RTBFIE
  273. from .rtlnl import RtlXlIE
  274. from .rtlnow import RTLnowIE
  275. from .rts import RTSIE
  276. from .rtve import RTVEALaCartaIE, RTVELiveIE
  277. from .ruhd import RUHDIE
  278. from .rutube import (
  279. RutubeIE,
  280. RutubeChannelIE,
  281. RutubeMovieIE,
  282. RutubePersonIE,
  283. )
  284. from .rutv import RUTVIE
  285. from .sapo import SapoIE
  286. from .savefrom import SaveFromIE
  287. from .sbs import SBSIE
  288. from .scivee import SciVeeIE
  289. from .screencast import ScreencastIE
  290. from .servingsys import ServingSysIE
  291. from .shared import SharedIE
  292. from .sina import SinaIE
  293. from .slideshare import SlideshareIE
  294. from .slutload import SlutloadIE
  295. from .smotri import (
  296. SmotriIE,
  297. SmotriCommunityIE,
  298. SmotriUserIE,
  299. SmotriBroadcastIE,
  300. )
  301. from .snotr import SnotrIE
  302. from .sockshare import SockshareIE
  303. from .sohu import SohuIE
  304. from .soundcloud import (
  305. SoundcloudIE,
  306. SoundcloudSetIE,
  307. SoundcloudUserIE,
  308. SoundcloudPlaylistIE
  309. )
  310. from .soundgasm import SoundgasmIE
  311. from .southpark import (
  312. SouthParkIE,
  313. SouthparkDeIE,
  314. )
  315. from .space import SpaceIE
  316. from .spankwire import SpankwireIE
  317. from .spiegel import SpiegelIE
  318. from .spiegeltv import SpiegeltvIE
  319. from .spike import SpikeIE
  320. from .sportdeutschland import SportDeutschlandIE
  321. from .stanfordoc import StanfordOpenClassroomIE
  322. from .steam import SteamIE
  323. from .streamcloud import StreamcloudIE
  324. from .streamcz import StreamCZIE
  325. from .swrmediathek import SWRMediathekIE
  326. from .syfy import SyfyIE
  327. from .sztvhu import SztvHuIE
  328. from .tagesschau import TagesschauIE
  329. from .teachertube import (
  330. TeacherTubeIE,
  331. TeacherTubeUserIE,
  332. )
  333. from .teachingchannel import TeachingChannelIE
  334. from .teamcoco import TeamcocoIE
  335. from .techtalks import TechTalksIE
  336. from .ted import TEDIE
  337. from .tenplay import TenPlayIE
  338. from .testurl import TestURLIE
  339. from .tf1 import TF1IE
  340. from .theplatform import ThePlatformIE
  341. from .thisav import ThisAVIE
  342. from .tinypic import TinyPicIE
  343. from .tlc import TlcIE, TlcDeIE
  344. from .toutv import TouTvIE
  345. from .toypics import ToypicsUserIE, ToypicsIE
  346. from .traileraddict import TrailerAddictIE
  347. from .trilulilu import TriluliluIE
  348. from .trutube import TruTubeIE
  349. from .tube8 import Tube8IE
  350. from .tudou import TudouIE
  351. from .tumblr import TumblrIE
  352. from .tutv import TutvIE
  353. from .tvigle import TvigleIE
  354. from .tvp import TvpIE
  355. from .tvplay import TVPlayIE
  356. from .ubu import UbuIE
  357. from .udemy import (
  358. UdemyIE,
  359. UdemyCourseIE
  360. )
  361. from .unistra import UnistraIE
  362. from .urort import UrortIE
  363. from .ustream import UstreamIE, UstreamChannelIE
  364. from .vbox7 import Vbox7IE
  365. from .veehd import VeeHDIE
  366. from .veoh import VeohIE
  367. from .vesti import VestiIE
  368. from .vevo import VevoIE
  369. from .vh1 import VH1IE
  370. from .viddler import ViddlerIE
  371. from .videobam import VideoBamIE
  372. from .videodetective import VideoDetectiveIE
  373. from .videolecturesnet import VideoLecturesNetIE
  374. from .videofyme import VideofyMeIE
  375. from .videopremium import VideoPremiumIE
  376. from .videott import VideoTtIE
  377. from .videoweed import VideoWeedIE
  378. from .vidme import VidmeIE
  379. from .vimeo import (
  380. VimeoIE,
  381. VimeoChannelIE,
  382. VimeoUserIE,
  383. VimeoAlbumIE,
  384. VimeoGroupsIE,
  385. VimeoReviewIE,
  386. VimeoWatchLaterIE,
  387. )
  388. from .vimple import VimpleIE
  389. from .vine import (
  390. VineIE,
  391. VineUserIE,
  392. )
  393. from .viki import VikiIE
  394. from .vk import VKIE
  395. from .vodlocker import VodlockerIE
  396. from .vporn import VpornIE
  397. from .vube import VubeIE
  398. from .vuclip import VuClipIE
  399. from .vulture import VultureIE
  400. from .washingtonpost import WashingtonPostIE
  401. from .wat import WatIE
  402. from .wayofthemaster import WayOfTheMasterIE
  403. from .wdr import (
  404. WDRIE,
  405. WDRMobileIE,
  406. WDRMausIE,
  407. )
  408. from .weibo import WeiboIE
  409. from .wimp import WimpIE
  410. from .wistia import WistiaIE
  411. from .worldstarhiphop import WorldStarHipHopIE
  412. from .wrzuta import WrzutaIE
  413. from .xbef import XBefIE
  414. from .xboxclips import XboxClipsIE
  415. from .xhamster import XHamsterIE
  416. from .xnxx import XNXXIE
  417. from .xvideos import XVideosIE
  418. from .xtube import XTubeUserIE, XTubeIE
  419. from .yahoo import (
  420. YahooIE,
  421. YahooNewsIE,
  422. YahooSearchIE,
  423. )
  424. from .youjizz import YouJizzIE
  425. from .youku import YoukuIE
  426. from .youporn import YouPornIE
  427. from .youtube import (
  428. YoutubeIE,
  429. YoutubeChannelIE,
  430. YoutubeFavouritesIE,
  431. YoutubeHistoryIE,
  432. YoutubePlaylistIE,
  433. YoutubeRecommendedIE,
  434. YoutubeSearchDateIE,
  435. YoutubeSearchIE,
  436. YoutubeSearchURLIE,
  437. YoutubeShowIE,
  438. YoutubeSubscriptionsIE,
  439. YoutubeTopListIE,
  440. YoutubeTruncatedURLIE,
  441. YoutubeUserIE,
  442. YoutubeWatchLaterIE,
  443. )
  444. from .zdf import ZDFIE
  445. _ALL_CLASSES = [
  446. klass
  447. for name, klass in globals().items()
  448. if name.endswith('IE') and name != 'GenericIE'
  449. ]
  450. _ALL_CLASSES.append(GenericIE)
  451. def gen_extractors():
  452. """ Return a list of an instance of every supported extractor.
  453. The order does matter; the first extractor matched is the one handling the URL.
  454. """
  455. return [klass() for klass in _ALL_CLASSES]
  456. def get_info_extractor(ie_name):
  457. """Returns the info extractor class with the given ie_name"""
  458. return globals()[ie_name+'IE']