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.

90 lines
2.8 KiB

11 years ago
11 years ago
  1. from .ard import ARDIE
  2. from .arte import ArteTvIE
  3. from .auengine import AUEngineIE
  4. from .bandcamp import BandcampIE
  5. from .bliptv import BlipTVIE, BlipTVUserIE
  6. from .breakcom import BreakIE
  7. from .collegehumor import CollegeHumorIE
  8. from .comedycentral import ComedyCentralIE
  9. from .cspan import CSpanIE
  10. from .dailymotion import DailymotionIE
  11. from .depositfiles import DepositFilesIE
  12. from .eighttracks import EightTracksIE
  13. from .escapist import EscapistIE
  14. from .facebook import FacebookIE
  15. from .flickr import FlickrIE
  16. from .funnyordie import FunnyOrDieIE
  17. from .gamespot import GameSpotIE
  18. from .gametrailers import GametrailersIE
  19. from .generic import GenericIE
  20. from .googleplus import GooglePlusIE
  21. from .googlesearch import GoogleSearchIE
  22. from .hotnewhiphop import HotNewHipHopIE
  23. from .howcast import HowcastIE
  24. from .hypem import HypemIE
  25. from .ina import InaIE
  26. from .infoq import InfoQIE
  27. from .instagram import InstagramIE
  28. from .jukebox import JukeboxIE
  29. from .justintv import JustinTVIE
  30. from .keek import KeekIE
  31. from .liveleak import LiveLeakIE
  32. from .metacafe import MetacafeIE
  33. from .mixcloud import MixcloudIE
  34. from .mtv import MTVIE
  35. from .myspass import MySpassIE
  36. from .myvideo import MyVideoIE
  37. from .nba import NBAIE
  38. from .photobucket import PhotobucketIE
  39. from .pornotube import PornotubeIE
  40. from .rbmaradio import RBMARadioIE
  41. from .redtube import RedTubeIE
  42. from .ringtv import RingTVIE
  43. from .soundcloud import SoundcloudIE, SoundcloudSetIE
  44. from .spiegel import SpiegelIE
  45. from .stanfordoc import StanfordOpenClassroomIE
  46. from .statigram import StatigramIE
  47. from .steam import SteamIE
  48. from .teamcoco import TeamcocoIE
  49. from .ted import TEDIE
  50. from .tf1 import TF1IE
  51. from .traileraddict import TrailerAddictIE
  52. from .tudou import TudouIE
  53. from .tumblr import TumblrIE
  54. from .tutv import TutvIE
  55. from .ustream import UstreamIE
  56. from .vbox7 import Vbox7IE
  57. from .vevo import VevoIE
  58. from .vimeo import VimeoIE
  59. from .vine import VineIE
  60. from .wat import WatIE
  61. from .wimp import WimpIE
  62. from .worldstarhiphop import WorldStarHipHopIE
  63. from .xhamster import XHamsterIE
  64. from .xnxx import XNXXIE
  65. from .xvideos import XVideosIE
  66. from .yahoo import YahooIE, YahooSearchIE
  67. from .youjizz import YouJizzIE
  68. from .youku import YoukuIE
  69. from .youporn import YouPornIE
  70. from .youtube import YoutubeIE, YoutubePlaylistIE, YoutubeSearchIE, YoutubeUserIE, YoutubeChannelIE, YoutubeShowIE
  71. from .zdf import ZDFIE
  72. _ALL_CLASSES = [
  73. klass
  74. for name, klass in globals().items()
  75. if name.endswith('IE') and name != 'GenericIE'
  76. ]
  77. _ALL_CLASSES.append(GenericIE)
  78. def gen_extractors():
  79. """ Return a list of an instance of every supported extractor.
  80. The order does matter; the first extractor matched is the one handling the URL.
  81. """
  82. return [klass() for klass in _ALL_CLASSES]
  83. def get_info_extractor(ie_name):
  84. """Returns the info extractor class with the given ie_name"""
  85. return globals()[ie_name+'IE']