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.

139 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 .pbs import PBSIE
  63. from .photobucket import PhotobucketIE
  64. from .pornotube import PornotubeIE
  65. from .rbmaradio import RBMARadioIE
  66. from .redtube import RedTubeIE
  67. from .ringtv import RingTVIE
  68. from .ro220 import Ro220IE
  69. from .roxwel import RoxwelIE
  70. from .rtlnow import RTLnowIE
  71. from .sina import SinaIE
  72. from .slashdot import SlashdotIE
  73. from .sohu import SohuIE
  74. from .soundcloud import SoundcloudIE, SoundcloudSetIE
  75. from .spiegel import SpiegelIE
  76. from .stanfordoc import StanfordOpenClassroomIE
  77. from .statigram import StatigramIE
  78. from .steam import SteamIE
  79. from .teamcoco import TeamcocoIE
  80. from .ted import TEDIE
  81. from .tf1 import TF1IE
  82. from .thisav import ThisAVIE
  83. from .traileraddict import TrailerAddictIE
  84. from .trilulilu import TriluliluIE
  85. from .tudou import TudouIE
  86. from .tumblr import TumblrIE
  87. from .tutv import TutvIE
  88. from .unistra import UnistraIE
  89. from .ustream import UstreamIE
  90. from .vbox7 import Vbox7IE
  91. from .veoh import VeohIE
  92. from .vevo import VevoIE
  93. from .videofyme import VideofyMeIE
  94. from .vimeo import VimeoIE, VimeoChannelIE
  95. from .vine import VineIE
  96. from .wat import WatIE
  97. from .weibo import WeiboIE
  98. from .wimp import WimpIE
  99. from .worldstarhiphop import WorldStarHipHopIE
  100. from .xhamster import XHamsterIE
  101. from .xnxx import XNXXIE
  102. from .xvideos import XVideosIE
  103. from .yahoo import YahooIE, YahooSearchIE
  104. from .youjizz import YouJizzIE
  105. from .youku import YoukuIE
  106. from .youporn import YouPornIE
  107. from .youtube import (
  108. YoutubeIE,
  109. YoutubePlaylistIE,
  110. YoutubeSearchIE,
  111. YoutubeUserIE,
  112. YoutubeChannelIE,
  113. YoutubeShowIE,
  114. YoutubeSubscriptionsIE,
  115. YoutubeRecommendedIE,
  116. YoutubeWatchLaterIE,
  117. YoutubeFavouritesIE,
  118. )
  119. from .zdf import ZDFIE
  120. _ALL_CLASSES = [
  121. klass
  122. for name, klass in globals().items()
  123. if name.endswith('IE') and name != 'GenericIE'
  124. ]
  125. _ALL_CLASSES.append(GenericIE)
  126. def gen_extractors():
  127. """ Return a list of an instance of every supported extractor.
  128. The order does matter; the first extractor matched is the one handling the URL.
  129. """
  130. return [klass() for klass in _ALL_CLASSES]
  131. def get_info_extractor(ie_name):
  132. """Returns the info extractor class with the given ie_name"""
  133. return globals()[ie_name+'IE']