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.

276 lines
7.5 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 .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 .la7 import LA7IE
  111. from .liveleak import LiveLeakIE
  112. from .livestream import LivestreamIE, LivestreamOriginalIE
  113. from .lynda import (
  114. LyndaIE,
  115. LyndaCourseIE
  116. )
  117. from .macgamestore import MacGameStoreIE
  118. from .mdr import MDRIE
  119. from .metacafe import MetacafeIE
  120. from .metacritic import MetacriticIE
  121. from .mit import TechTVMITIE, MITIE
  122. from .mixcloud import MixcloudIE
  123. from .mpora import MporaIE
  124. from .mofosex import MofosexIE
  125. from .mtv import (
  126. MTVIE,
  127. MTVIggyIE,
  128. )
  129. from .muzu import MuzuTVIE
  130. from .myspace import MySpaceIE
  131. from .myspass import MySpassIE
  132. from .myvideo import MyVideoIE
  133. from .naver import NaverIE
  134. from .nba import NBAIE
  135. from .nbc import NBCNewsIE
  136. from .ndtv import NDTVIE
  137. from .newgrounds import NewgroundsIE
  138. from .nhl import NHLIE, NHLVideocenterIE
  139. from .niconico import NiconicoIE
  140. from .ninegag import NineGagIE
  141. from .novamov import NovamovIE
  142. from .nowness import NownessIE
  143. from .nowvideo import NowVideoIE
  144. from .ooyala import OoyalaIE
  145. from .orf import ORFIE
  146. from .pbs import PBSIE
  147. from .photobucket import PhotobucketIE
  148. from .podomatic import PodomaticIE
  149. from .pornhd import PornHdIE
  150. from .pornhub import PornHubIE
  151. from .pornotube import PornotubeIE
  152. from .pyvideo import PyvideoIE
  153. from .radiofrance import RadioFranceIE
  154. from .rbmaradio import RBMARadioIE
  155. from .redtube import RedTubeIE
  156. from .ringtv import RingTVIE
  157. from .ro220 import Ro220IE
  158. from .rottentomatoes import RottenTomatoesIE
  159. from .roxwel import RoxwelIE
  160. from .rtlnow import RTLnowIE
  161. from .rutube import RutubeIE
  162. from .servingsys import ServingSysIE
  163. from .sina import SinaIE
  164. from .slashdot import SlashdotIE
  165. from .slideshare import SlideshareIE
  166. from .smotri import (
  167. SmotriIE,
  168. SmotriCommunityIE,
  169. SmotriUserIE,
  170. SmotriBroadcastIE,
  171. )
  172. from .sohu import SohuIE
  173. from .soundcloud import SoundcloudIE, SoundcloudSetIE, SoundcloudUserIE
  174. from .southparkstudios import (
  175. SouthParkStudiosIE,
  176. SouthparkDeIE,
  177. )
  178. from .space import SpaceIE
  179. from .spankwire import SpankwireIE
  180. from .spiegel import SpiegelIE
  181. from .spike import SpikeIE
  182. from .stanfordoc import StanfordOpenClassroomIE
  183. from .statigram import StatigramIE
  184. from .steam import SteamIE
  185. from .streamcloud import StreamcloudIE
  186. from .sztvhu import SztvHuIE
  187. from .teamcoco import TeamcocoIE
  188. from .techtalks import TechTalksIE
  189. from .ted import TEDIE
  190. from .tf1 import TF1IE
  191. from .theplatform import ThePlatformIE
  192. from .thisav import ThisAVIE
  193. from .toutv import TouTvIE
  194. from .traileraddict import TrailerAddictIE
  195. from .trilulilu import TriluliluIE
  196. from .tube8 import Tube8IE
  197. from .tudou import TudouIE
  198. from .tumblr import TumblrIE
  199. from .tutv import TutvIE
  200. from .tvp import TvpIE
  201. from .unistra import UnistraIE
  202. from .ustream import UstreamIE, UstreamChannelIE
  203. from .vbox7 import Vbox7IE
  204. from .veehd import VeeHDIE
  205. from .veoh import VeohIE
  206. from .vevo import VevoIE
  207. from .vice import ViceIE
  208. from .viddler import ViddlerIE
  209. from .videodetective import VideoDetectiveIE
  210. from .videofyme import VideofyMeIE
  211. from .videopremium import VideoPremiumIE
  212. from .vimeo import (
  213. VimeoIE,
  214. VimeoChannelIE,
  215. VimeoUserIE,
  216. VimeoAlbumIE,
  217. VimeoGroupsIE,
  218. VimeoReviewIE,
  219. )
  220. from .vine import VineIE
  221. from .viki import VikiIE
  222. from .vk import VKIE
  223. from .wat import WatIE
  224. from .weibo import WeiboIE
  225. from .wimp import WimpIE
  226. from .wistia import WistiaIE
  227. from .worldstarhiphop import WorldStarHipHopIE
  228. from .xhamster import XHamsterIE
  229. from .xnxx import XNXXIE
  230. from .xvideos import XVideosIE
  231. from .xtube import XTubeIE
  232. from .yahoo import (
  233. YahooIE,
  234. YahooNewsIE,
  235. YahooSearchIE,
  236. )
  237. from .youjizz import YouJizzIE
  238. from .youku import YoukuIE
  239. from .youporn import YouPornIE
  240. from .youtube import (
  241. YoutubeIE,
  242. YoutubePlaylistIE,
  243. YoutubeSearchIE,
  244. YoutubeSearchDateIE,
  245. YoutubeUserIE,
  246. YoutubeChannelIE,
  247. YoutubeShowIE,
  248. YoutubeSubscriptionsIE,
  249. YoutubeRecommendedIE,
  250. YoutubeTruncatedURLIE,
  251. YoutubeWatchLaterIE,
  252. YoutubeFavouritesIE,
  253. YoutubeHistoryIE,
  254. YoutubeTopListIE,
  255. )
  256. from .zdf import ZDFIE
  257. _ALL_CLASSES = [
  258. klass
  259. for name, klass in globals().items()
  260. if name.endswith('IE') and name != 'GenericIE'
  261. ]
  262. _ALL_CLASSES.append(GenericIE)
  263. def gen_extractors():
  264. """ Return a list of an instance of every supported extractor.
  265. The order does matter; the first extractor matched is the one handling the URL.
  266. """
  267. return [klass() for klass in _ALL_CLASSES]
  268. def get_info_extractor(ie_name):
  269. """Returns the info extractor class with the given ie_name"""
  270. return globals()[ie_name+'IE']