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.

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