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.

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