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.

159 lines
4.6 KiB

11 years ago
12 years ago
12 years ago
  1. from .appletrailers import AppleTrailersIE
  2. from .addanime import AddAnimeIE
  3. from .archiveorg import ArchiveOrgIE
  4. from .ard import ARDIE
  5. from .arte import ArteTvIE
  6. from .auengine import AUEngineIE
  7. from .bandcamp import BandcampIE
  8. from .bliptv import BlipTVIE, BlipTVUserIE
  9. from .bloomberg import BloombergIE
  10. from .breakcom import BreakIE
  11. from .brightcove import BrightcoveIE
  12. from .c56 import C56IE
  13. from .canalplus import CanalplusIE
  14. from .canalc2 import Canalc2IE
  15. from .cnn import CNNIE
  16. from .collegehumor import CollegeHumorIE
  17. from .comedycentral import ComedyCentralIE
  18. from .condenast import CondeNastIE
  19. from .criterion import CriterionIE
  20. from .cspan import CSpanIE
  21. from .dailymotion import DailymotionIE, DailymotionPlaylistIE
  22. from .daum import DaumIE
  23. from .depositfiles import DepositFilesIE
  24. from .dotsub import DotsubIE
  25. from .dreisat import DreiSatIE
  26. from .defense import DefenseGouvFrIE
  27. from .ehow import EHowIE
  28. from .eighttracks import EightTracksIE
  29. from .escapist import EscapistIE
  30. from .exfm import ExfmIE
  31. from .facebook import FacebookIE
  32. from .fktv import (
  33. FKTVIE,
  34. FKTVPosteckeIE,
  35. )
  36. from .flickr import FlickrIE
  37. from .francetv import (
  38. PluzzIE,
  39. FranceTvInfoIE,
  40. )
  41. from .freesound import FreesoundIE
  42. from .funnyordie import FunnyOrDieIE
  43. from .gamespot import GameSpotIE
  44. from .gametrailers import GametrailersIE
  45. from .generic import GenericIE
  46. from .googleplus import GooglePlusIE
  47. from .googlesearch import GoogleSearchIE
  48. from .hark import HarkIE
  49. from .hotnewhiphop import HotNewHipHopIE
  50. from .howcast import HowcastIE
  51. from .hypem import HypemIE
  52. from .ign import IGNIE, OneUPIE
  53. from .ina import InaIE
  54. from .infoq import InfoQIE
  55. from .instagram import InstagramIE
  56. from .jeuxvideo import JeuxVideoIE
  57. from .jukebox import JukeboxIE
  58. from .justintv import JustinTVIE
  59. from .kankan import KankanIE
  60. from .kickstarter import KickStarterIE
  61. from .keek import KeekIE
  62. from .liveleak import LiveLeakIE
  63. from .livestream import LivestreamIE
  64. from .metacafe import MetacafeIE
  65. from .metacritic import MetacriticIE
  66. from .mit import TechTVMITIE, MITIE
  67. from .mixcloud import MixcloudIE
  68. from .mtv import MTVIE
  69. from .muzu import MuzuTVIE
  70. from .myspass import MySpassIE
  71. from .myvideo import MyVideoIE
  72. from .naver import NaverIE
  73. from .nba import NBAIE
  74. from .nbc import NBCNewsIE
  75. from .newgrounds import NewgroundsIE
  76. from .ooyala import OoyalaIE
  77. from .orf import ORFIE
  78. from .pbs import PBSIE
  79. from .photobucket import PhotobucketIE
  80. from .pornotube import PornotubeIE
  81. from .rbmaradio import RBMARadioIE
  82. from .redtube import RedTubeIE
  83. from .ringtv import RingTVIE
  84. from .ro220 import Ro220IE
  85. from .roxwel import RoxwelIE
  86. from .rtlnow import RTLnowIE
  87. from .sina import SinaIE
  88. from .slashdot import SlashdotIE
  89. from .slideshare import SlideshareIE
  90. from .sohu import SohuIE
  91. from .soundcloud import SoundcloudIE, SoundcloudSetIE, SoundcloudUserIE
  92. from .southparkstudios import SouthParkStudiosIE
  93. from .spiegel import SpiegelIE
  94. from .stanfordoc import StanfordOpenClassroomIE
  95. from .statigram import StatigramIE
  96. from .steam import SteamIE
  97. from .teamcoco import TeamcocoIE
  98. from .ted import TEDIE
  99. from .tf1 import TF1IE
  100. from .thisav import ThisAVIE
  101. from .traileraddict import TrailerAddictIE
  102. from .trilulilu import TriluliluIE
  103. from .tudou import TudouIE
  104. from .tumblr import TumblrIE
  105. from .tutv import TutvIE
  106. from .unistra import UnistraIE
  107. from .ustream import UstreamIE, UstreamChannelIE
  108. from .vbox7 import Vbox7IE
  109. from .veehd import VeeHDIE
  110. from .veoh import VeohIE
  111. from .vevo import VevoIE
  112. from .vice import ViceIE
  113. from .videofyme import VideofyMeIE
  114. from .vimeo import VimeoIE, VimeoChannelIE
  115. from .vine import VineIE
  116. from .wat import WatIE
  117. from .weibo import WeiboIE
  118. from .wimp import WimpIE
  119. from .worldstarhiphop import WorldStarHipHopIE
  120. from .xhamster import XHamsterIE
  121. from .xnxx import XNXXIE
  122. from .xvideos import XVideosIE
  123. from .yahoo import YahooIE, YahooSearchIE
  124. from .youjizz import YouJizzIE
  125. from .youku import YoukuIE
  126. from .youporn import YouPornIE
  127. from .youtube import (
  128. YoutubeIE,
  129. YoutubePlaylistIE,
  130. YoutubeSearchIE,
  131. YoutubeUserIE,
  132. YoutubeChannelIE,
  133. YoutubeShowIE,
  134. YoutubeSubscriptionsIE,
  135. YoutubeRecommendedIE,
  136. YoutubeWatchLaterIE,
  137. YoutubeFavouritesIE,
  138. )
  139. from .zdf import ZDFIE
  140. _ALL_CLASSES = [
  141. klass
  142. for name, klass in globals().items()
  143. if name.endswith('IE') and name != 'GenericIE'
  144. ]
  145. _ALL_CLASSES.append(GenericIE)
  146. def gen_extractors():
  147. """ Return a list of an instance of every supported extractor.
  148. The order does matter; the first extractor matched is the one handling the URL.
  149. """
  150. return [klass() for klass in _ALL_CLASSES]
  151. def get_info_extractor(ie_name):
  152. """Returns the info extractor class with the given ie_name"""
  153. return globals()[ie_name+'IE']