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.

144 lines
4.2 KiB

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