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.

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