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.

278 lines
7.6 KiB

11 years ago
12 years ago
11 years ago
11 years ago
12 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 .dropbox import DropboxIE
  52. from .ebaumsworld import EbaumsWorldIE
  53. from .ehow import EHowIE
  54. from .eighttracks import EightTracksIE
  55. from .eitb import EitbIE
  56. from .escapist import EscapistIE
  57. from .everyonesmixtape import EveryonesMixtapeIE
  58. from .exfm import ExfmIE
  59. from .extremetube import ExtremeTubeIE
  60. from .facebook import FacebookIE
  61. from .faz import FazIE
  62. from .fktv import (
  63. FKTVIE,
  64. FKTVPosteckeIE,
  65. )
  66. from .flickr import FlickrIE
  67. from .franceinter import FranceInterIE
  68. from .francetv import (
  69. PluzzIE,
  70. FranceTvInfoIE,
  71. FranceTVIE,
  72. GenerationQuoiIE,
  73. CultureboxIE,
  74. )
  75. from .freesound import FreesoundIE
  76. from .freespeech import FreespeechIE
  77. from .funnyordie import FunnyOrDieIE
  78. from .gamekings import GamekingsIE
  79. from .gamespot import GameSpotIE
  80. from .gametrailers import GametrailersIE
  81. from .generic import GenericIE
  82. from .googleplus import GooglePlusIE
  83. from .googlesearch import GoogleSearchIE
  84. from .hark import HarkIE
  85. from .hotnewhiphop import HotNewHipHopIE
  86. from .howcast import HowcastIE
  87. from .huffpost import HuffPostIE
  88. from .hypem import HypemIE
  89. from .ign import IGNIE, OneUPIE
  90. from .imdb import (
  91. ImdbIE,
  92. ImdbListIE
  93. )
  94. from .ina import InaIE
  95. from .infoq import InfoQIE
  96. from .instagram import InstagramIE
  97. from .internetvideoarchive import InternetVideoArchiveIE
  98. from .ivi import (
  99. IviIE,
  100. IviCompilationIE
  101. )
  102. from .jeuxvideo import JeuxVideoIE
  103. from .jukebox import JukeboxIE
  104. from .justintv import JustinTVIE
  105. from .jpopsukitv import JpopsukiIE
  106. from .kankan import KankanIE
  107. from .keezmovies import KeezMoviesIE
  108. from .khanacademy import KhanAcademyIE
  109. from .kickstarter import KickStarterIE
  110. from .keek import KeekIE
  111. from .la7 import LA7IE
  112. from .liveleak import LiveLeakIE
  113. from .livestream import LivestreamIE, LivestreamOriginalIE
  114. from .lynda import (
  115. LyndaIE,
  116. LyndaCourseIE
  117. )
  118. from .macgamestore import MacGameStoreIE
  119. from .malemotion import MalemotionIE
  120. from .mdr import MDRIE
  121. from .metacafe import MetacafeIE
  122. from .metacritic import MetacriticIE
  123. from .mit import TechTVMITIE, MITIE
  124. from .mixcloud import MixcloudIE
  125. from .mpora import MporaIE
  126. from .mofosex import MofosexIE
  127. from .mtv import (
  128. MTVIE,
  129. MTVIggyIE,
  130. )
  131. from .muzu import MuzuTVIE
  132. from .myspace import MySpaceIE
  133. from .myspass import MySpassIE
  134. from .myvideo import MyVideoIE
  135. from .naver import NaverIE
  136. from .nba import NBAIE
  137. from .nbc import NBCNewsIE
  138. from .ndtv import NDTVIE
  139. from .newgrounds import NewgroundsIE
  140. from .nhl import NHLIE, NHLVideocenterIE
  141. from .niconico import NiconicoIE
  142. from .ninegag import NineGagIE
  143. from .novamov import NovamovIE
  144. from .nowness import NownessIE
  145. from .nowvideo import NowVideoIE
  146. from .ooyala import OoyalaIE
  147. from .orf import ORFIE
  148. from .pbs import PBSIE
  149. from .photobucket import PhotobucketIE
  150. from .podomatic import PodomaticIE
  151. from .pornhd import PornHdIE
  152. from .pornhub import PornHubIE
  153. from .pornotube import PornotubeIE
  154. from .pyvideo import PyvideoIE
  155. from .radiofrance import RadioFranceIE
  156. from .rbmaradio import RBMARadioIE
  157. from .redtube import RedTubeIE
  158. from .ringtv import RingTVIE
  159. from .ro220 import Ro220IE
  160. from .rottentomatoes import RottenTomatoesIE
  161. from .roxwel import RoxwelIE
  162. from .rtlnow import RTLnowIE
  163. from .rutube import RutubeIE
  164. from .servingsys import ServingSysIE
  165. from .sina import SinaIE
  166. from .slashdot import SlashdotIE
  167. from .slideshare import SlideshareIE
  168. from .smotri import (
  169. SmotriIE,
  170. SmotriCommunityIE,
  171. SmotriUserIE,
  172. SmotriBroadcastIE,
  173. )
  174. from .sohu import SohuIE
  175. from .soundcloud import SoundcloudIE, SoundcloudSetIE, SoundcloudUserIE
  176. from .southparkstudios import (
  177. SouthParkStudiosIE,
  178. SouthparkDeIE,
  179. )
  180. from .space import SpaceIE
  181. from .spankwire import SpankwireIE
  182. from .spiegel import SpiegelIE
  183. from .spike import SpikeIE
  184. from .stanfordoc import StanfordOpenClassroomIE
  185. from .statigram import StatigramIE
  186. from .steam import SteamIE
  187. from .streamcloud import StreamcloudIE
  188. from .sztvhu import SztvHuIE
  189. from .teamcoco import TeamcocoIE
  190. from .techtalks import TechTalksIE
  191. from .ted import TEDIE
  192. from .tf1 import TF1IE
  193. from .theplatform import ThePlatformIE
  194. from .thisav import ThisAVIE
  195. from .toutv import TouTvIE
  196. from .traileraddict import TrailerAddictIE
  197. from .trilulilu import TriluliluIE
  198. from .tube8 import Tube8IE
  199. from .tudou import TudouIE
  200. from .tumblr import TumblrIE
  201. from .tutv import TutvIE
  202. from .tvp import TvpIE
  203. from .unistra import UnistraIE
  204. from .ustream import UstreamIE, UstreamChannelIE
  205. from .vbox7 import Vbox7IE
  206. from .veehd import VeeHDIE
  207. from .veoh import VeohIE
  208. from .vevo import VevoIE
  209. from .vice import ViceIE
  210. from .viddler import ViddlerIE
  211. from .videodetective import VideoDetectiveIE
  212. from .videofyme import VideofyMeIE
  213. from .videopremium import VideoPremiumIE
  214. from .vimeo import (
  215. VimeoIE,
  216. VimeoChannelIE,
  217. VimeoUserIE,
  218. VimeoAlbumIE,
  219. VimeoGroupsIE,
  220. VimeoReviewIE,
  221. )
  222. from .vine import VineIE
  223. from .viki import VikiIE
  224. from .vk import VKIE
  225. from .wat import WatIE
  226. from .weibo import WeiboIE
  227. from .wimp import WimpIE
  228. from .wistia import WistiaIE
  229. from .worldstarhiphop import WorldStarHipHopIE
  230. from .xhamster import XHamsterIE
  231. from .xnxx import XNXXIE
  232. from .xvideos import XVideosIE
  233. from .xtube import XTubeIE
  234. from .yahoo import (
  235. YahooIE,
  236. YahooNewsIE,
  237. YahooSearchIE,
  238. )
  239. from .youjizz import YouJizzIE
  240. from .youku import YoukuIE
  241. from .youporn import YouPornIE
  242. from .youtube import (
  243. YoutubeIE,
  244. YoutubePlaylistIE,
  245. YoutubeSearchIE,
  246. YoutubeSearchDateIE,
  247. YoutubeUserIE,
  248. YoutubeChannelIE,
  249. YoutubeShowIE,
  250. YoutubeSubscriptionsIE,
  251. YoutubeRecommendedIE,
  252. YoutubeTruncatedURLIE,
  253. YoutubeWatchLaterIE,
  254. YoutubeFavouritesIE,
  255. YoutubeHistoryIE,
  256. YoutubeTopListIE,
  257. )
  258. from .zdf import ZDFIE
  259. _ALL_CLASSES = [
  260. klass
  261. for name, klass in globals().items()
  262. if name.endswith('IE') and name != 'GenericIE'
  263. ]
  264. _ALL_CLASSES.append(GenericIE)
  265. def gen_extractors():
  266. """ Return a list of an instance of every supported extractor.
  267. The order does matter; the first extractor matched is the one handling the URL.
  268. """
  269. return [klass() for klass in _ALL_CLASSES]
  270. def get_info_extractor(ie_name):
  271. """Returns the info extractor class with the given ie_name"""
  272. return globals()[ie_name+'IE']