__init__.py 3.2 KB

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