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.

432 lines
12 KiB

11 years ago
10 years ago
11 years ago
11 years ago
11 years ago
11 years ago
10 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 .defense import DefenseGouvFrIE
  73. from .discovery import DiscoveryIE
  74. from .divxstage import DivxStageIE
  75. from .dropbox import DropboxIE
  76. from .ebaumsworld import EbaumsWorldIE
  77. from .ehow import EHowIE
  78. from .eighttracks import EightTracksIE
  79. from .eitb import EitbIE
  80. from .elpais import ElPaisIE
  81. from .empflix import EmpflixIE
  82. from .engadget import EngadgetIE
  83. from .escapist import EscapistIE
  84. from .everyonesmixtape import EveryonesMixtapeIE
  85. from .exfm import ExfmIE
  86. from .extremetube import ExtremeTubeIE
  87. from .facebook import FacebookIE
  88. from .faz import FazIE
  89. from .fc2 import FC2IE
  90. from .firedrive import FiredriveIE
  91. from .firstpost import FirstpostIE
  92. from .firsttv import FirstTVIE
  93. from .fivemin import FiveMinIE
  94. from .fktv import (
  95. FKTVIE,
  96. FKTVPosteckeIE,
  97. )
  98. from .flickr import FlickrIE
  99. from .fourtube import FourTubeIE
  100. from .franceculture import FranceCultureIE
  101. from .franceinter import FranceInterIE
  102. from .francetv import (
  103. PluzzIE,
  104. FranceTvInfoIE,
  105. FranceTVIE,
  106. GenerationQuoiIE,
  107. CultureboxIE,
  108. )
  109. from .freesound import FreesoundIE
  110. from .freespeech import FreespeechIE
  111. from .funnyordie import FunnyOrDieIE
  112. from .gamekings import GamekingsIE
  113. from .gameone import GameOneIE
  114. from .gamespot import GameSpotIE
  115. from .gametrailers import GametrailersIE
  116. from .gdcvault import GDCVaultIE
  117. from .generic import GenericIE
  118. from .godtube import GodTubeIE
  119. from .googleplus import GooglePlusIE
  120. from .googlesearch import GoogleSearchIE
  121. from .gorillavid import GorillaVidIE
  122. from .goshgay import GoshgayIE
  123. from .hark import HarkIE
  124. from .helsinki import HelsinkiIE
  125. from .hentaistigma import HentaiStigmaIE
  126. from .hotnewhiphop import HotNewHipHopIE
  127. from .howcast import HowcastIE
  128. from .huffpost import HuffPostIE
  129. from .hypem import HypemIE
  130. from .iconosquare import IconosquareIE
  131. from .ign import IGNIE, OneUPIE
  132. from .imdb import (
  133. ImdbIE,
  134. ImdbListIE
  135. )
  136. from .ina import InaIE
  137. from .infoq import InfoQIE
  138. from .instagram import InstagramIE, InstagramUserIE
  139. from .internetvideoarchive import InternetVideoArchiveIE
  140. from .iprima import IPrimaIE
  141. from .ivi import (
  142. IviIE,
  143. IviCompilationIE
  144. )
  145. from .jadorecettepub import JadoreCettePubIE
  146. from .jeuxvideo import JeuxVideoIE
  147. from .jukebox import JukeboxIE
  148. from .justintv import JustinTVIE
  149. from .jpopsukitv import JpopsukiIE
  150. from .kankan import KankanIE
  151. from .keezmovies import KeezMoviesIE
  152. from .khanacademy import KhanAcademyIE
  153. from .kickstarter import KickStarterIE
  154. from .keek import KeekIE
  155. from .kontrtube import KontrTubeIE
  156. from .krasview import KrasViewIE
  157. from .ku6 import Ku6IE
  158. from .la7 import LA7IE
  159. from .lifenews import LifeNewsIE
  160. from .liveleak import LiveLeakIE
  161. from .livestream import (
  162. LivestreamIE,
  163. LivestreamOriginalIE,
  164. LivestreamShortenerIE,
  165. )
  166. from .lynda import (
  167. LyndaIE,
  168. LyndaCourseIE
  169. )
  170. from .m6 import M6IE
  171. from .macgamestore import MacGameStoreIE
  172. from .mailru import MailRuIE
  173. from .malemotion import MalemotionIE
  174. from .mdr import MDRIE
  175. from .metacafe import MetacafeIE
  176. from .metacritic import MetacriticIE
  177. from .mit import TechTVMITIE, MITIE, OCWMITIE
  178. from .mixcloud import MixcloudIE
  179. from .mlb import MLBIE
  180. from .mpora import MporaIE
  181. from .mofosex import MofosexIE
  182. from .mooshare import MooshareIE
  183. from .morningstar import MorningstarIE
  184. from .motherless import MotherlessIE
  185. from .motorsport import MotorsportIE
  186. from .moviezine import MoviezineIE
  187. from .movshare import MovShareIE
  188. from .mtv import (
  189. MTVIE,
  190. MTVServicesEmbeddedIE,
  191. MTVIggyIE,
  192. )
  193. from .musicplayon import MusicPlayOnIE
  194. from .muzu import MuzuTVIE
  195. from .myspace import MySpaceIE
  196. from .myspass import MySpassIE
  197. from .myvideo import MyVideoIE
  198. from .naver import NaverIE
  199. from .nba import NBAIE
  200. from .nbc import (
  201. NBCIE,
  202. NBCNewsIE,
  203. )
  204. from .ndr import NDRIE
  205. from .ndtv import NDTVIE
  206. from .newgrounds import NewgroundsIE
  207. from .newstube import NewstubeIE
  208. from .nfb import NFBIE
  209. from .nhl import NHLIE, NHLVideocenterIE
  210. from .niconico import NiconicoIE
  211. from .ninegag import NineGagIE
  212. from .noco import NocoIE
  213. from .normalboots import NormalbootsIE
  214. from .novamov import NovaMovIE
  215. from .nowness import NownessIE
  216. from .nowvideo import NowVideoIE
  217. from .npo import NPOIE
  218. from .nrk import (
  219. NRKIE,
  220. NRKTVIE,
  221. )
  222. from .ntv import NTVIE
  223. from .nytimes import NYTimesIE
  224. from .nuvid import NuvidIE
  225. from .oe1 import OE1IE
  226. from .ooyala import OoyalaIE
  227. from .orf import ORFIE
  228. from .parliamentliveuk import ParliamentLiveUKIE
  229. from .pbs import PBSIE
  230. from .photobucket import PhotobucketIE
  231. from .playvid import PlayvidIE
  232. from .podomatic import PodomaticIE
  233. from .pornhd import PornHdIE
  234. from .pornhub import PornHubIE
  235. from .pornotube import PornotubeIE
  236. from .prosiebensat1 import ProSiebenSat1IE
  237. from .pyvideo import PyvideoIE
  238. from .radiofrance import RadioFranceIE
  239. from .rai import RaiIE
  240. from .rbmaradio import RBMARadioIE
  241. from .redtube import RedTubeIE
  242. from .reverbnation import ReverbNationIE
  243. from .ringtv import RingTVIE
  244. from .ro220 import Ro220IE
  245. from .rottentomatoes import RottenTomatoesIE
  246. from .roxwel import RoxwelIE
  247. from .rtbf import RTBFIE
  248. from .rtlnow import RTLnowIE
  249. from .rts import RTSIE
  250. from .rtve import RTVEALaCartaIE
  251. from .ruhd import RUHDIE
  252. from .rutube import (
  253. RutubeIE,
  254. RutubeChannelIE,
  255. RutubeMovieIE,
  256. RutubePersonIE,
  257. )
  258. from .rutv import RUTVIE
  259. from .sapo import SapoIE
  260. from .savefrom import SaveFromIE
  261. from .scivee import SciVeeIE
  262. from .screencast import ScreencastIE
  263. from .servingsys import ServingSysIE
  264. from .shared import SharedIE
  265. from .sina import SinaIE
  266. from .slideshare import SlideshareIE
  267. from .slutload import SlutloadIE
  268. from .smotri import (
  269. SmotriIE,
  270. SmotriCommunityIE,
  271. SmotriUserIE,
  272. SmotriBroadcastIE,
  273. )
  274. from .snotr import SnotrIE
  275. from .sockshare import SockshareIE
  276. from .sohu import SohuIE
  277. from .soundcloud import (
  278. SoundcloudIE,
  279. SoundcloudSetIE,
  280. SoundcloudUserIE,
  281. SoundcloudPlaylistIE
  282. )
  283. from .soundgasm import SoundgasmIE
  284. from .southpark import (
  285. SouthParkIE,
  286. SouthparkDeIE,
  287. )
  288. from .space import SpaceIE
  289. from .spankwire import SpankwireIE
  290. from .spiegel import SpiegelIE
  291. from .spiegeltv import SpiegeltvIE
  292. from .spike import SpikeIE
  293. from .stanfordoc import StanfordOpenClassroomIE
  294. from .steam import SteamIE
  295. from .streamcloud import StreamcloudIE
  296. from .streamcz import StreamCZIE
  297. from .swrmediathek import SWRMediathekIE
  298. from .syfy import SyfyIE
  299. from .sztvhu import SztvHuIE
  300. from .tagesschau import TagesschauIE
  301. from .teachertube import (
  302. TeacherTubeIE,
  303. TeacherTubeUserIE,
  304. )
  305. from .teachingchannel import TeachingChannelIE
  306. from .teamcoco import TeamcocoIE
  307. from .techtalks import TechTalksIE
  308. from .ted import TEDIE
  309. from .tenplay import TenPlayIE
  310. from .testurl import TestURLIE
  311. from .tf1 import TF1IE
  312. from .theplatform import ThePlatformIE
  313. from .thisav import ThisAVIE
  314. from .tinypic import TinyPicIE
  315. from .tlc import TlcIE, TlcDeIE
  316. from .toutv import TouTvIE
  317. from .toypics import ToypicsUserIE, ToypicsIE
  318. from .traileraddict import TrailerAddictIE
  319. from .trilulilu import TriluliluIE
  320. from .trutube import TruTubeIE
  321. from .tube8 import Tube8IE
  322. from .tudou import TudouIE
  323. from .tumblr import TumblrIE
  324. from .tutv import TutvIE
  325. from .tvigle import TvigleIE
  326. from .tvp import TvpIE
  327. from .tvplay import TVPlayIE
  328. from .udemy import (
  329. UdemyIE,
  330. UdemyCourseIE
  331. )
  332. from .unistra import UnistraIE
  333. from .urort import UrortIE
  334. from .ustream import UstreamIE, UstreamChannelIE
  335. from .vbox7 import Vbox7IE
  336. from .veehd import VeeHDIE
  337. from .veoh import VeohIE
  338. from .vesti import VestiIE
  339. from .vevo import VevoIE
  340. from .vh1 import VH1IE
  341. from .viddler import ViddlerIE
  342. from .videobam import VideoBamIE
  343. from .videodetective import VideoDetectiveIE
  344. from .videolecturesnet import VideoLecturesNetIE
  345. from .videofyme import VideofyMeIE
  346. from .videopremium import VideoPremiumIE
  347. from .videott import VideoTtIE
  348. from .videoweed import VideoWeedIE
  349. from .vimeo import (
  350. VimeoIE,
  351. VimeoChannelIE,
  352. VimeoUserIE,
  353. VimeoAlbumIE,
  354. VimeoGroupsIE,
  355. VimeoReviewIE,
  356. VimeoWatchLaterIE,
  357. )
  358. from .vimple import VimpleIE
  359. from .vine import (
  360. VineIE,
  361. VineUserIE,
  362. )
  363. from .viki import VikiIE
  364. from .vk import VKIE
  365. from .vodlocker import VodlockerIE
  366. from .vube import VubeIE
  367. from .vuclip import VuClipIE
  368. from .vulture import VultureIE
  369. from .washingtonpost import WashingtonPostIE
  370. from .wat import WatIE
  371. from .wdr import (
  372. WDRIE,
  373. WDRMobileIE,
  374. WDRMausIE,
  375. )
  376. from .weibo import WeiboIE
  377. from .wimp import WimpIE
  378. from .wistia import WistiaIE
  379. from .worldstarhiphop import WorldStarHipHopIE
  380. from .wrzuta import WrzutaIE
  381. from .xbef import XBefIE
  382. from .xhamster import XHamsterIE
  383. from .xnxx import XNXXIE
  384. from .xvideos import XVideosIE
  385. from .xtube import XTubeUserIE, XTubeIE
  386. from .yahoo import (
  387. YahooIE,
  388. YahooNewsIE,
  389. YahooSearchIE,
  390. )
  391. from .youjizz import YouJizzIE
  392. from .youku import YoukuIE
  393. from .youporn import YouPornIE
  394. from .youtube import (
  395. YoutubeIE,
  396. YoutubeChannelIE,
  397. YoutubeFavouritesIE,
  398. YoutubeHistoryIE,
  399. YoutubePlaylistIE,
  400. YoutubeRecommendedIE,
  401. YoutubeSearchDateIE,
  402. YoutubeSearchIE,
  403. YoutubeSearchURLIE,
  404. YoutubeShowIE,
  405. YoutubeSubscriptionsIE,
  406. YoutubeTopListIE,
  407. YoutubeTruncatedURLIE,
  408. YoutubeUserIE,
  409. YoutubeWatchLaterIE,
  410. )
  411. from .zdf import ZDFIE
  412. _ALL_CLASSES = [
  413. klass
  414. for name, klass in globals().items()
  415. if name.endswith('IE') and name != 'GenericIE'
  416. ]
  417. _ALL_CLASSES.append(GenericIE)
  418. def gen_extractors():
  419. """ Return a list of an instance of every supported extractor.
  420. The order does matter; the first extractor matched is the one handling the URL.
  421. """
  422. return [klass() for klass in _ALL_CLASSES]
  423. def get_info_extractor(ie_name):
  424. """Returns the info extractor class with the given ie_name"""
  425. return globals()[ie_name+'IE']