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.

359 lines
9.7 KiB

11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
  1. from .academicearth import AcademicEarthCourseIE
  2. from .addanime import AddAnimeIE
  3. from .aftonbladet import AftonbladetIE
  4. from .anitube import AnitubeIE
  5. from .aol import AolIE
  6. from .aparat import AparatIE
  7. from .appletrailers import AppleTrailersIE
  8. from .archiveorg import ArchiveOrgIE
  9. from .ard import ARDIE
  10. from .arte import (
  11. ArteTvIE,
  12. ArteTVPlus7IE,
  13. ArteTVCreativeIE,
  14. ArteTVConcertIE,
  15. ArteTVFutureIE,
  16. ArteTVDDCIE,
  17. ArteTVEmbedIE,
  18. )
  19. from .auengine import AUEngineIE
  20. from .bambuser import BambuserIE, BambuserChannelIE
  21. from .bandcamp import BandcampIE, BandcampAlbumIE
  22. from .bbccouk import BBCCoUkIE
  23. from .blinkx import BlinkxIE
  24. from .bliptv import BlipTVIE, BlipTVUserIE
  25. from .bloomberg import BloombergIE
  26. from .br import BRIE
  27. from .breakcom import BreakIE
  28. from .brightcove import BrightcoveIE
  29. from .byutv import BYUtvIE
  30. from .c56 import C56IE
  31. from .canal13cl import Canal13clIE
  32. from .canalplus import CanalplusIE
  33. from .canalc2 import Canalc2IE
  34. from .cbs import CBSIE
  35. from .cbsnews import CBSNewsIE
  36. from .ceskatelevize import CeskaTelevizeIE
  37. from .channel9 import Channel9IE
  38. from .chilloutzone import ChilloutzoneIE
  39. from .cinemassacre import CinemassacreIE
  40. from .clipfish import ClipfishIE
  41. from .cliphunter import CliphunterIE
  42. from .clipsyndicate import ClipsyndicateIE
  43. from .clubic import ClubicIE
  44. from .cmt import CMTIE
  45. from .cnet import CNETIE
  46. from .cnn import (
  47. CNNIE,
  48. CNNBlogsIE,
  49. )
  50. from .collegehumor import CollegeHumorIE
  51. from .comedycentral import ComedyCentralIE, ComedyCentralShowsIE
  52. from .condenast import CondeNastIE
  53. from .criterion import CriterionIE
  54. from .crunchyroll import CrunchyrollIE
  55. from .cspan import CSpanIE
  56. from .d8 import D8IE
  57. from .dailymotion import (
  58. DailymotionIE,
  59. DailymotionPlaylistIE,
  60. DailymotionUserIE,
  61. )
  62. from .daum import DaumIE
  63. from .dotsub import DotsubIE
  64. from .dreisat import DreiSatIE
  65. from .defense import DefenseGouvFrIE
  66. from .discovery import DiscoveryIE
  67. from .divxstage import DivxStageIE
  68. from .dropbox import DropboxIE
  69. from .ebaumsworld import EbaumsWorldIE
  70. from .ehow import EHowIE
  71. from .eighttracks import EightTracksIE
  72. from .eitb import EitbIE
  73. from .elpais import ElPaisIE
  74. from .engadget import EngadgetIE
  75. from .escapist import EscapistIE
  76. from .everyonesmixtape import EveryonesMixtapeIE
  77. from .exfm import ExfmIE
  78. from .extremetube import ExtremeTubeIE
  79. from .facebook import FacebookIE
  80. from .faz import FazIE
  81. from .firstpost import FirstpostIE
  82. from .firsttv import FirstTVIE
  83. from .fivemin import FiveMinIE
  84. from .fktv import (
  85. FKTVIE,
  86. FKTVPosteckeIE,
  87. )
  88. from .flickr import FlickrIE
  89. from .fourtube import FourTubeIE
  90. from .franceculture import FranceCultureIE
  91. from .franceinter import FranceInterIE
  92. from .francetv import (
  93. PluzzIE,
  94. FranceTvInfoIE,
  95. FranceTVIE,
  96. GenerationQuoiIE,
  97. CultureboxIE,
  98. )
  99. from .freesound import FreesoundIE
  100. from .freespeech import FreespeechIE
  101. from .funnyordie import FunnyOrDieIE
  102. from .gamekings import GamekingsIE
  103. from .gamespot import GameSpotIE
  104. from .gametrailers import GametrailersIE
  105. from .gdcvault import GDCVaultIE
  106. from .generic import GenericIE
  107. from .googleplus import GooglePlusIE
  108. from .googlesearch import GoogleSearchIE
  109. from .hark import HarkIE
  110. from .helsinki import HelsinkiIE
  111. from .hotnewhiphop import HotNewHipHopIE
  112. from .howcast import HowcastIE
  113. from .huffpost import HuffPostIE
  114. from .hypem import HypemIE
  115. from .ign import IGNIE, OneUPIE
  116. from .imdb import (
  117. ImdbIE,
  118. ImdbListIE
  119. )
  120. from .ina import InaIE
  121. from .infoq import InfoQIE
  122. from .instagram import InstagramIE, InstagramUserIE
  123. from .internetvideoarchive import InternetVideoArchiveIE
  124. from .iprima import IPrimaIE
  125. from .ivi import (
  126. IviIE,
  127. IviCompilationIE
  128. )
  129. from .jadorecettepub import JadoreCettePubIE
  130. from .jeuxvideo import JeuxVideoIE
  131. from .jukebox import JukeboxIE
  132. from .justintv import JustinTVIE
  133. from .jpopsukitv import JpopsukiIE
  134. from .kankan import KankanIE
  135. from .keezmovies import KeezMoviesIE
  136. from .khanacademy import KhanAcademyIE
  137. from .kickstarter import KickStarterIE
  138. from .keek import KeekIE
  139. from .kontrtube import KontrTubeIE
  140. from .la7 import LA7IE
  141. from .lifenews import LifeNewsIE
  142. from .liveleak import LiveLeakIE
  143. from .livestream import LivestreamIE, LivestreamOriginalIE
  144. from .lynda import (
  145. LyndaIE,
  146. LyndaCourseIE
  147. )
  148. from .m6 import M6IE
  149. from .macgamestore import MacGameStoreIE
  150. from .mailru import MailRuIE
  151. from .malemotion import MalemotionIE
  152. from .mdr import MDRIE
  153. from .metacafe import MetacafeIE
  154. from .metacritic import MetacriticIE
  155. from .mit import TechTVMITIE, MITIE, OCWMITIE
  156. from .mixcloud import MixcloudIE
  157. from .mpora import MporaIE
  158. from .mofosex import MofosexIE
  159. from .mooshare import MooshareIE
  160. from .morningstar import MorningstarIE
  161. from .motorsport import MotorsportIE
  162. from .movshare import MovShareIE
  163. from .mtv import (
  164. MTVIE,
  165. MTVIggyIE,
  166. )
  167. from .musicplayon import MusicPlayOnIE
  168. from .muzu import MuzuTVIE
  169. from .myspace import MySpaceIE
  170. from .myspass import MySpassIE
  171. from .myvideo import MyVideoIE
  172. from .naver import NaverIE
  173. from .nba import NBAIE
  174. from .nbc import (
  175. NBCIE,
  176. NBCNewsIE,
  177. )
  178. from .ndr import NDRIE
  179. from .ndtv import NDTVIE
  180. from .newgrounds import NewgroundsIE
  181. from .nfb import NFBIE
  182. from .nhl import NHLIE, NHLVideocenterIE
  183. from .niconico import NiconicoIE
  184. from .ninegag import NineGagIE
  185. from .noco import NocoIE
  186. from .normalboots import NormalbootsIE
  187. from .novamov import NovaMovIE
  188. from .nowness import NownessIE
  189. from .nowvideo import NowVideoIE
  190. from .ntv import NTVIE
  191. from .oe1 import OE1IE
  192. from .ooyala import OoyalaIE
  193. from .orf import ORFIE
  194. from .parliamentliveuk import ParliamentLiveUKIE
  195. from .pbs import PBSIE
  196. from .photobucket import PhotobucketIE
  197. from .playvid import PlayvidIE
  198. from .podomatic import PodomaticIE
  199. from .pornhd import PornHdIE
  200. from .pornhub import PornHubIE
  201. from .pornotube import PornotubeIE
  202. from .prosiebensat1 import ProSiebenSat1IE
  203. from .pyvideo import PyvideoIE
  204. from .radiofrance import RadioFranceIE
  205. from .rbmaradio import RBMARadioIE
  206. from .redtube import RedTubeIE
  207. from .ringtv import RingTVIE
  208. from .ro220 import Ro220IE
  209. from .rottentomatoes import RottenTomatoesIE
  210. from .roxwel import RoxwelIE
  211. from .rtlnow import RTLnowIE
  212. from .rts import RTSIE
  213. from .rtve import RTVEALaCartaIE
  214. from .rutube import (
  215. RutubeIE,
  216. RutubeChannelIE,
  217. RutubeMovieIE,
  218. RutubePersonIE,
  219. )
  220. from .rutv import RUTVIE
  221. from .savefrom import SaveFromIE
  222. from .servingsys import ServingSysIE
  223. from .sina import SinaIE
  224. from .slideshare import SlideshareIE
  225. from .smotri import (
  226. SmotriIE,
  227. SmotriCommunityIE,
  228. SmotriUserIE,
  229. SmotriBroadcastIE,
  230. )
  231. from .sohu import SohuIE
  232. from .soundcloud import SoundcloudIE, SoundcloudSetIE, SoundcloudUserIE
  233. from .southparkstudios import (
  234. SouthParkStudiosIE,
  235. SouthparkDeIE,
  236. )
  237. from .space import SpaceIE
  238. from .spankwire import SpankwireIE
  239. from .spiegel import SpiegelIE
  240. from .spike import SpikeIE
  241. from .stanfordoc import StanfordOpenClassroomIE
  242. from .statigram import StatigramIE
  243. from .steam import SteamIE
  244. from .streamcloud import StreamcloudIE
  245. from .streamcz import StreamCZIE
  246. from .syfy import SyfyIE
  247. from .sztvhu import SztvHuIE
  248. from .teamcoco import TeamcocoIE
  249. from .techtalks import TechTalksIE
  250. from .ted import TEDIE
  251. from .testurl import TestURLIE
  252. from .tf1 import TF1IE
  253. from .theplatform import ThePlatformIE
  254. from .thisav import ThisAVIE
  255. from .tinypic import TinyPicIE
  256. from .tlc import TlcIE, TlcDeIE
  257. from .toutv import TouTvIE
  258. from .toypics import ToypicsUserIE, ToypicsIE
  259. from .traileraddict import TrailerAddictIE
  260. from .trilulilu import TriluliluIE
  261. from .trutube import TruTubeIE
  262. from .tube8 import Tube8IE
  263. from .tudou import TudouIE
  264. from .tumblr import TumblrIE
  265. from .tutv import TutvIE
  266. from .tvigle import TvigleIE
  267. from .tvp import TvpIE
  268. from .udemy import (
  269. UdemyIE,
  270. UdemyCourseIE
  271. )
  272. from .unistra import UnistraIE
  273. from .urort import UrortIE
  274. from .ustream import UstreamIE, UstreamChannelIE
  275. from .vbox7 import Vbox7IE
  276. from .veehd import VeeHDIE
  277. from .veoh import VeohIE
  278. from .vesti import VestiIE
  279. from .vevo import VevoIE
  280. from .viddler import ViddlerIE
  281. from .videobam import VideoBamIE
  282. from .videodetective import VideoDetectiveIE
  283. from .videolecturesnet import VideoLecturesNetIE
  284. from .videofyme import VideofyMeIE
  285. from .videopremium import VideoPremiumIE
  286. from .videoweed import VideoWeedIE
  287. from .vimeo import (
  288. VimeoIE,
  289. VimeoChannelIE,
  290. VimeoUserIE,
  291. VimeoAlbumIE,
  292. VimeoGroupsIE,
  293. VimeoReviewIE,
  294. )
  295. from .vine import VineIE
  296. from .viki import VikiIE
  297. from .vk import VKIE
  298. from .vube import VubeIE
  299. from .washingtonpost import WashingtonPostIE
  300. from .wat import WatIE
  301. from .wdr import (
  302. WDRIE,
  303. WDRMausIE,
  304. )
  305. from .weibo import WeiboIE
  306. from .wimp import WimpIE
  307. from .wistia import WistiaIE
  308. from .worldstarhiphop import WorldStarHipHopIE
  309. from .xbef import XBefIE
  310. from .xhamster import XHamsterIE
  311. from .xnxx import XNXXIE
  312. from .xvideos import XVideosIE
  313. from .xtube import XTubeUserIE, XTubeIE
  314. from .yahoo import (
  315. YahooIE,
  316. YahooNewsIE,
  317. YahooSearchIE,
  318. )
  319. from .youjizz import YouJizzIE
  320. from .youku import YoukuIE
  321. from .youporn import YouPornIE
  322. from .youtube import (
  323. YoutubeIE,
  324. YoutubeChannelIE,
  325. YoutubeFavouritesIE,
  326. YoutubeHistoryIE,
  327. YoutubePlaylistIE,
  328. YoutubeRecommendedIE,
  329. YoutubeSearchDateIE,
  330. YoutubeSearchIE,
  331. YoutubeSearchURLIE,
  332. YoutubeShowIE,
  333. YoutubeSubscriptionsIE,
  334. YoutubeTopListIE,
  335. YoutubeTruncatedURLIE,
  336. YoutubeUserIE,
  337. YoutubeWatchLaterIE,
  338. )
  339. from .zdf import ZDFIE
  340. _ALL_CLASSES = [
  341. klass
  342. for name, klass in globals().items()
  343. if name.endswith('IE') and name != 'GenericIE'
  344. ]
  345. _ALL_CLASSES.append(GenericIE)
  346. def gen_extractors():
  347. """ Return a list of an instance of every supported extractor.
  348. The order does matter; the first extractor matched is the one handling the URL.
  349. """
  350. return [klass() for klass in _ALL_CLASSES]
  351. def get_info_extractor(ie_name):
  352. """Returns the info extractor class with the given ie_name"""
  353. return globals()[ie_name+'IE']