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.

275 lines
7.5 KiB

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