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.

214 lines
6.2 KiB

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