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.

102 lines
3.0 KiB

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