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.

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