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.

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