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.

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