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.

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