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.

124 lines
3.7 KiB

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