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.

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