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.

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