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.

292 lines
7.9 KiB

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