__init__.py 3.1 KB

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