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.

238 lines
6.6 KiB

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