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.

242 lines
6.7 KiB

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