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.

461 lines
12 KiB

11 years ago
10 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
10 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
  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 .muzu import MuzuTVIE
  213. from .myspace import MySpaceIE
  214. from .myspass import MySpassIE
  215. from .myvideo import MyVideoIE
  216. from .naver import NaverIE
  217. from .nba import NBAIE
  218. from .nbc import (
  219. NBCIE,
  220. NBCNewsIE,
  221. )
  222. from .ndr import NDRIE
  223. from .ndtv import NDTVIE
  224. from .newgrounds import NewgroundsIE
  225. from .newstube import NewstubeIE
  226. from .nfb import NFBIE
  227. from .nhl import NHLIE, NHLVideocenterIE
  228. from .niconico import NiconicoIE
  229. from .ninegag import NineGagIE
  230. from .noco import NocoIE
  231. from .normalboots import NormalbootsIE
  232. from .novamov import NovaMovIE
  233. from .nowness import NownessIE
  234. from .nowvideo import NowVideoIE
  235. from .npo import NPOIE
  236. from .nrk import (
  237. NRKIE,
  238. NRKTVIE,
  239. )
  240. from .ntv import NTVIE
  241. from .nytimes import NYTimesIE
  242. from .nuvid import NuvidIE
  243. from .ooyala import OoyalaIE
  244. from .orf import (
  245. ORFTVthekIE,
  246. ORFOE1IE,
  247. ORFFM4IE,
  248. )
  249. from .parliamentliveuk import ParliamentLiveUKIE
  250. from .patreon import PatreonIE
  251. from .pbs import PBSIE
  252. from .photobucket import PhotobucketIE
  253. from .playfm import PlayFMIE
  254. from .playvid import PlayvidIE
  255. from .podomatic import PodomaticIE
  256. from .pornhd import PornHdIE
  257. from .pornhub import PornHubIE
  258. from .pornotube import PornotubeIE
  259. from .prosiebensat1 import ProSiebenSat1IE
  260. from .pyvideo import PyvideoIE
  261. from .radiofrance import RadioFranceIE
  262. from .rai import RaiIE
  263. from .rbmaradio import RBMARadioIE
  264. from .redtube import RedTubeIE
  265. from .reverbnation import ReverbNationIE
  266. from .ringtv import RingTVIE
  267. from .ro220 import Ro220IE
  268. from .rottentomatoes import RottenTomatoesIE
  269. from .roxwel import RoxwelIE
  270. from .rtbf import RTBFIE
  271. from .rtlnl import RtlXlIE
  272. from .rtlnow import RTLnowIE
  273. from .rts import RTSIE
  274. from .rtve import RTVEALaCartaIE, RTVELiveIE
  275. from .ruhd import RUHDIE
  276. from .rutube import (
  277. RutubeIE,
  278. RutubeChannelIE,
  279. RutubeMovieIE,
  280. RutubePersonIE,
  281. )
  282. from .rutv import RUTVIE
  283. from .sapo import SapoIE
  284. from .savefrom import SaveFromIE
  285. from .sbs import SBSIE
  286. from .scivee import SciVeeIE
  287. from .screencast import ScreencastIE
  288. from .servingsys import ServingSysIE
  289. from .shared import SharedIE
  290. from .sina import SinaIE
  291. from .slideshare import SlideshareIE
  292. from .slutload import SlutloadIE
  293. from .smotri import (
  294. SmotriIE,
  295. SmotriCommunityIE,
  296. SmotriUserIE,
  297. SmotriBroadcastIE,
  298. )
  299. from .snotr import SnotrIE
  300. from .sockshare import SockshareIE
  301. from .sohu import SohuIE
  302. from .soundcloud import (
  303. SoundcloudIE,
  304. SoundcloudSetIE,
  305. SoundcloudUserIE,
  306. SoundcloudPlaylistIE
  307. )
  308. from .soundgasm import SoundgasmIE
  309. from .southpark import (
  310. SouthParkIE,
  311. SouthparkDeIE,
  312. )
  313. from .space import SpaceIE
  314. from .spankwire import SpankwireIE
  315. from .spiegel import SpiegelIE
  316. from .spiegeltv import SpiegeltvIE
  317. from .spike import SpikeIE
  318. from .stanfordoc import StanfordOpenClassroomIE
  319. from .steam import SteamIE
  320. from .streamcloud import StreamcloudIE
  321. from .streamcz import StreamCZIE
  322. from .swrmediathek import SWRMediathekIE
  323. from .syfy import SyfyIE
  324. from .sztvhu import SztvHuIE
  325. from .tagesschau import TagesschauIE
  326. from .teachertube import (
  327. TeacherTubeIE,
  328. TeacherTubeUserIE,
  329. )
  330. from .teachingchannel import TeachingChannelIE
  331. from .teamcoco import TeamcocoIE
  332. from .techtalks import TechTalksIE
  333. from .ted import TEDIE
  334. from .tenplay import TenPlayIE
  335. from .testurl import TestURLIE
  336. from .tf1 import TF1IE
  337. from .theplatform import ThePlatformIE
  338. from .thisav import ThisAVIE
  339. from .tinypic import TinyPicIE
  340. from .tlc import TlcIE, TlcDeIE
  341. from .toutv import TouTvIE
  342. from .toypics import ToypicsUserIE, ToypicsIE
  343. from .traileraddict import TrailerAddictIE
  344. from .trilulilu import TriluliluIE
  345. from .trutube import TruTubeIE
  346. from .tube8 import Tube8IE
  347. from .tudou import TudouIE
  348. from .tumblr import TumblrIE
  349. from .tutv import TutvIE
  350. from .tvigle import TvigleIE
  351. from .tvp import TvpIE
  352. from .tvplay import TVPlayIE
  353. from .ubu import UbuIE
  354. from .udemy import (
  355. UdemyIE,
  356. UdemyCourseIE
  357. )
  358. from .unistra import UnistraIE
  359. from .urort import UrortIE
  360. from .ustream import UstreamIE, UstreamChannelIE
  361. from .vbox7 import Vbox7IE
  362. from .veehd import VeeHDIE
  363. from .veoh import VeohIE
  364. from .vesti import VestiIE
  365. from .vevo import VevoIE
  366. from .vh1 import VH1IE
  367. from .viddler import ViddlerIE
  368. from .videobam import VideoBamIE
  369. from .videodetective import VideoDetectiveIE
  370. from .videolecturesnet import VideoLecturesNetIE
  371. from .videofyme import VideofyMeIE
  372. from .videopremium import VideoPremiumIE
  373. from .videott import VideoTtIE
  374. from .videoweed import VideoWeedIE
  375. from .vidme import VidmeIE
  376. from .vimeo import (
  377. VimeoIE,
  378. VimeoChannelIE,
  379. VimeoUserIE,
  380. VimeoAlbumIE,
  381. VimeoGroupsIE,
  382. VimeoReviewIE,
  383. VimeoWatchLaterIE,
  384. )
  385. from .vimple import VimpleIE
  386. from .vine import (
  387. VineIE,
  388. VineUserIE,
  389. )
  390. from .viki import VikiIE
  391. from .vk import VKIE
  392. from .vodlocker import VodlockerIE
  393. from .vube import VubeIE
  394. from .vuclip import VuClipIE
  395. from .vulture import VultureIE
  396. from .washingtonpost import WashingtonPostIE
  397. from .wat import WatIE
  398. from .wayofthemaster import WayOfTheMasterIE
  399. from .wdr import (
  400. WDRIE,
  401. WDRMobileIE,
  402. WDRMausIE,
  403. )
  404. from .weibo import WeiboIE
  405. from .wimp import WimpIE
  406. from .wistia import WistiaIE
  407. from .worldstarhiphop import WorldStarHipHopIE
  408. from .wrzuta import WrzutaIE
  409. from .xbef import XBefIE
  410. from .xboxclips import XboxClipsIE
  411. from .xhamster import XHamsterIE
  412. from .xnxx import XNXXIE
  413. from .xvideos import XVideosIE
  414. from .xtube import XTubeUserIE, XTubeIE
  415. from .yahoo import (
  416. YahooIE,
  417. YahooNewsIE,
  418. YahooSearchIE,
  419. )
  420. from .youjizz import YouJizzIE
  421. from .youku import YoukuIE
  422. from .youporn import YouPornIE
  423. from .youtube import (
  424. YoutubeIE,
  425. YoutubeChannelIE,
  426. YoutubeFavouritesIE,
  427. YoutubeHistoryIE,
  428. YoutubePlaylistIE,
  429. YoutubeRecommendedIE,
  430. YoutubeSearchDateIE,
  431. YoutubeSearchIE,
  432. YoutubeSearchURLIE,
  433. YoutubeShowIE,
  434. YoutubeSubscriptionsIE,
  435. YoutubeTopListIE,
  436. YoutubeTruncatedURLIE,
  437. YoutubeUserIE,
  438. YoutubeWatchLaterIE,
  439. )
  440. from .zdf import ZDFIE
  441. _ALL_CLASSES = [
  442. klass
  443. for name, klass in globals().items()
  444. if name.endswith('IE') and name != 'GenericIE'
  445. ]
  446. _ALL_CLASSES.append(GenericIE)
  447. def gen_extractors():
  448. """ Return a list of an instance of every supported extractor.
  449. The order does matter; the first extractor matched is the one handling the URL.
  450. """
  451. return [klass() for klass in _ALL_CLASSES]
  452. def get_info_extractor(ie_name):
  453. """Returns the info extractor class with the given ie_name"""
  454. return globals()[ie_name+'IE']