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.

462 lines
12 KiB

11 years ago
11 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
  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 .einthusan import EinthusanIE
  81. from .eitb import EitbIE
  82. from .ellentv import (
  83. EllenTVIE,
  84. EllenTVClipsIE,
  85. )
  86. from .elpais import ElPaisIE
  87. from .empflix import EmpflixIE
  88. from .engadget import EngadgetIE
  89. from .escapist import EscapistIE
  90. from .everyonesmixtape import EveryonesMixtapeIE
  91. from .exfm import ExfmIE
  92. from .expotv import ExpoTVIE
  93. from .extremetube import ExtremeTubeIE
  94. from .facebook import FacebookIE
  95. from .faz import FazIE
  96. from .fc2 import FC2IE
  97. from .firedrive import FiredriveIE
  98. from .firstpost import FirstpostIE
  99. from .firsttv import FirstTVIE
  100. from .fivemin import FiveMinIE
  101. from .fktv import (
  102. FKTVIE,
  103. FKTVPosteckeIE,
  104. )
  105. from .flickr import FlickrIE
  106. from .fourtube import FourTubeIE
  107. from .franceculture import FranceCultureIE
  108. from .franceinter import FranceInterIE
  109. from .francetv import (
  110. PluzzIE,
  111. FranceTvInfoIE,
  112. FranceTVIE,
  113. GenerationQuoiIE,
  114. CultureboxIE,
  115. )
  116. from .freesound import FreesoundIE
  117. from .freespeech import FreespeechIE
  118. from .funnyordie import FunnyOrDieIE
  119. from .gamekings import GamekingsIE
  120. from .gameone import (
  121. GameOneIE,
  122. GameOnePlaylistIE,
  123. )
  124. from .gamespot import GameSpotIE
  125. from .gamestar import GameStarIE
  126. from .gametrailers import GametrailersIE
  127. from .gdcvault import GDCVaultIE
  128. from .generic import GenericIE
  129. from .godtube import GodTubeIE
  130. from .googleplus import GooglePlusIE
  131. from .googlesearch import GoogleSearchIE
  132. from .gorillavid import GorillaVidIE
  133. from .goshgay import GoshgayIE
  134. from .grooveshark import GroovesharkIE
  135. from .hark import HarkIE
  136. from .helsinki import HelsinkiIE
  137. from .hentaistigma import HentaiStigmaIE
  138. from .hotnewhiphop import HotNewHipHopIE
  139. from .howcast import HowcastIE
  140. from .howstuffworks import HowStuffWorksIE
  141. from .huffpost import HuffPostIE
  142. from .hypem import HypemIE
  143. from .iconosquare import IconosquareIE
  144. from .ign import IGNIE, OneUPIE
  145. from .imdb import (
  146. ImdbIE,
  147. ImdbListIE
  148. )
  149. from .ina import InaIE
  150. from .infoq import InfoQIE
  151. from .instagram import InstagramIE, InstagramUserIE
  152. from .internetvideoarchive import InternetVideoArchiveIE
  153. from .iprima import IPrimaIE
  154. from .ivi import (
  155. IviIE,
  156. IviCompilationIE
  157. )
  158. from .izlesene import IzleseneIE
  159. from .jadorecettepub import JadoreCettePubIE
  160. from .jeuxvideo import JeuxVideoIE
  161. from .jove import JoveIE
  162. from .jukebox import JukeboxIE
  163. from .justintv import JustinTVIE
  164. from .jpopsukitv import JpopsukiIE
  165. from .kankan import KankanIE
  166. from .keezmovies import KeezMoviesIE
  167. from .khanacademy import KhanAcademyIE
  168. from .kickstarter import KickStarterIE
  169. from .keek import KeekIE
  170. from .kontrtube import KontrTubeIE
  171. from .krasview import KrasViewIE
  172. from .ku6 import Ku6IE
  173. from .la7 import LA7IE
  174. from .lifenews import LifeNewsIE
  175. from .liveleak import LiveLeakIE
  176. from .livestream import (
  177. LivestreamIE,
  178. LivestreamOriginalIE,
  179. LivestreamShortenerIE,
  180. )
  181. from .lynda import (
  182. LyndaIE,
  183. LyndaCourseIE
  184. )
  185. from .m6 import M6IE
  186. from .macgamestore import MacGameStoreIE
  187. from .mailru import MailRuIE
  188. from .malemotion import MalemotionIE
  189. from .mdr import MDRIE
  190. from .metacafe import MetacafeIE
  191. from .metacritic import MetacriticIE
  192. from .ministrygrid import MinistryGridIE
  193. from .mit import TechTVMITIE, MITIE, OCWMITIE
  194. from .mitele import MiTeleIE
  195. from .mixcloud import MixcloudIE
  196. from .mlb import MLBIE
  197. from .mpora import MporaIE
  198. from .mofosex import MofosexIE
  199. from .mojvideo import MojvideoIE
  200. from .mooshare import MooshareIE
  201. from .morningstar import MorningstarIE
  202. from .motherless import MotherlessIE
  203. from .motorsport import MotorsportIE
  204. from .movieclips import MovieClipsIE
  205. from .moviezine import MoviezineIE
  206. from .movshare import MovShareIE
  207. from .mtv import (
  208. MTVIE,
  209. MTVServicesEmbeddedIE,
  210. MTVIggyIE,
  211. )
  212. from .musicplayon import MusicPlayOnIE
  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 .prosiebensat1 import ProSiebenSat1IE
  261. from .pyvideo import PyvideoIE
  262. from .radiofrance import RadioFranceIE
  263. from .rai import RaiIE
  264. from .rbmaradio import RBMARadioIE
  265. from .redtube import RedTubeIE
  266. from .reverbnation import ReverbNationIE
  267. from .ringtv import RingTVIE
  268. from .ro220 import Ro220IE
  269. from .rottentomatoes import RottenTomatoesIE
  270. from .roxwel import RoxwelIE
  271. from .rtbf import RTBFIE
  272. from .rtlnl import RtlXlIE
  273. from .rtlnow import RTLnowIE
  274. from .rts import RTSIE
  275. from .rtve import RTVEALaCartaIE, RTVELiveIE
  276. from .ruhd import RUHDIE
  277. from .rutube import (
  278. RutubeIE,
  279. RutubeChannelIE,
  280. RutubeMovieIE,
  281. RutubePersonIE,
  282. )
  283. from .rutv import RUTVIE
  284. from .sapo import SapoIE
  285. from .savefrom import SaveFromIE
  286. from .sbs import SBSIE
  287. from .scivee import SciVeeIE
  288. from .screencast import ScreencastIE
  289. from .servingsys import ServingSysIE
  290. from .shared import SharedIE
  291. from .sina import SinaIE
  292. from .slideshare import SlideshareIE
  293. from .slutload import SlutloadIE
  294. from .smotri import (
  295. SmotriIE,
  296. SmotriCommunityIE,
  297. SmotriUserIE,
  298. SmotriBroadcastIE,
  299. )
  300. from .snotr import SnotrIE
  301. from .sockshare import SockshareIE
  302. from .sohu import SohuIE
  303. from .soundcloud import (
  304. SoundcloudIE,
  305. SoundcloudSetIE,
  306. SoundcloudUserIE,
  307. SoundcloudPlaylistIE
  308. )
  309. from .soundgasm import SoundgasmIE
  310. from .southpark import (
  311. SouthParkIE,
  312. SouthparkDeIE,
  313. )
  314. from .space import SpaceIE
  315. from .spankwire import SpankwireIE
  316. from .spiegel import SpiegelIE
  317. from .spiegeltv import SpiegeltvIE
  318. from .spike import SpikeIE
  319. from .stanfordoc import StanfordOpenClassroomIE
  320. from .steam import SteamIE
  321. from .streamcloud import StreamcloudIE
  322. from .streamcz import StreamCZIE
  323. from .swrmediathek import SWRMediathekIE
  324. from .syfy import SyfyIE
  325. from .sztvhu import SztvHuIE
  326. from .tagesschau import TagesschauIE
  327. from .teachertube import (
  328. TeacherTubeIE,
  329. TeacherTubeUserIE,
  330. )
  331. from .teachingchannel import TeachingChannelIE
  332. from .teamcoco import TeamcocoIE
  333. from .techtalks import TechTalksIE
  334. from .ted import TEDIE
  335. from .tenplay import TenPlayIE
  336. from .testurl import TestURLIE
  337. from .tf1 import TF1IE
  338. from .theplatform import ThePlatformIE
  339. from .thisav import ThisAVIE
  340. from .tinypic import TinyPicIE
  341. from .tlc import TlcIE, TlcDeIE
  342. from .toutv import TouTvIE
  343. from .toypics import ToypicsUserIE, ToypicsIE
  344. from .traileraddict import TrailerAddictIE
  345. from .trilulilu import TriluliluIE
  346. from .trutube import TruTubeIE
  347. from .tube8 import Tube8IE
  348. from .tudou import TudouIE
  349. from .tumblr import TumblrIE
  350. from .tutv import TutvIE
  351. from .tvigle import TvigleIE
  352. from .tvp import TvpIE
  353. from .tvplay import TVPlayIE
  354. from .ubu import UbuIE
  355. from .udemy import (
  356. UdemyIE,
  357. UdemyCourseIE
  358. )
  359. from .unistra import UnistraIE
  360. from .urort import UrortIE
  361. from .ustream import UstreamIE, UstreamChannelIE
  362. from .vbox7 import Vbox7IE
  363. from .veehd import VeeHDIE
  364. from .veoh import VeohIE
  365. from .vesti import VestiIE
  366. from .vevo import VevoIE
  367. from .vh1 import VH1IE
  368. from .viddler import ViddlerIE
  369. from .videobam import VideoBamIE
  370. from .videodetective import VideoDetectiveIE
  371. from .videolecturesnet import VideoLecturesNetIE
  372. from .videofyme import VideofyMeIE
  373. from .videopremium import VideoPremiumIE
  374. from .videott import VideoTtIE
  375. from .videoweed import VideoWeedIE
  376. from .vidme import VidmeIE
  377. from .vimeo import (
  378. VimeoIE,
  379. VimeoChannelIE,
  380. VimeoUserIE,
  381. VimeoAlbumIE,
  382. VimeoGroupsIE,
  383. VimeoReviewIE,
  384. VimeoWatchLaterIE,
  385. )
  386. from .vimple import VimpleIE
  387. from .vine import (
  388. VineIE,
  389. VineUserIE,
  390. )
  391. from .viki import VikiIE
  392. from .vk import VKIE
  393. from .vodlocker import VodlockerIE
  394. from .vube import VubeIE
  395. from .vuclip import VuClipIE
  396. from .vulture import VultureIE
  397. from .washingtonpost import WashingtonPostIE
  398. from .wat import WatIE
  399. from .wayofthemaster import WayOfTheMasterIE
  400. from .wdr import (
  401. WDRIE,
  402. WDRMobileIE,
  403. WDRMausIE,
  404. )
  405. from .weibo import WeiboIE
  406. from .wimp import WimpIE
  407. from .wistia import WistiaIE
  408. from .worldstarhiphop import WorldStarHipHopIE
  409. from .wrzuta import WrzutaIE
  410. from .xbef import XBefIE
  411. from .xboxclips import XboxClipsIE
  412. from .xhamster import XHamsterIE
  413. from .xnxx import XNXXIE
  414. from .xvideos import XVideosIE
  415. from .xtube import XTubeUserIE, XTubeIE
  416. from .yahoo import (
  417. YahooIE,
  418. YahooNewsIE,
  419. YahooSearchIE,
  420. )
  421. from .youjizz import YouJizzIE
  422. from .youku import YoukuIE
  423. from .youporn import YouPornIE
  424. from .youtube import (
  425. YoutubeIE,
  426. YoutubeChannelIE,
  427. YoutubeFavouritesIE,
  428. YoutubeHistoryIE,
  429. YoutubePlaylistIE,
  430. YoutubeRecommendedIE,
  431. YoutubeSearchDateIE,
  432. YoutubeSearchIE,
  433. YoutubeSearchURLIE,
  434. YoutubeShowIE,
  435. YoutubeSubscriptionsIE,
  436. YoutubeTopListIE,
  437. YoutubeTruncatedURLIE,
  438. YoutubeUserIE,
  439. YoutubeWatchLaterIE,
  440. )
  441. from .zdf import ZDFIE
  442. _ALL_CLASSES = [
  443. klass
  444. for name, klass in globals().items()
  445. if name.endswith('IE') and name != 'GenericIE'
  446. ]
  447. _ALL_CLASSES.append(GenericIE)
  448. def gen_extractors():
  449. """ Return a list of an instance of every supported extractor.
  450. The order does matter; the first extractor matched is the one handling the URL.
  451. """
  452. return [klass() for klass in _ALL_CLASSES]
  453. def get_info_extractor(ie_name):
  454. """Returns the info extractor class with the given ie_name"""
  455. return globals()[ie_name+'IE']