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.

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