__init__.py 3.3 KB

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