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.

131 lines
3.5 KiB

  1. from .ard import ARDIE
  2. from .arte import ArteTvIE
  3. from .bandcamp import BandcampIE
  4. from .bliptv import BlipTVIE, BlipTVUserIE
  5. from .comedycentral import ComedyCentralIE
  6. from .collegehumor import CollegeHumorIE
  7. from .dailymotion import DailymotionIE
  8. from .depositfiles import DepositFilesIE
  9. from .eighttracks import EightTracksIE
  10. from .escapist import EscapistIE
  11. from .facebook import FacebookIE
  12. from .flickr import FlickrIE
  13. from .funnyordie import FunnyOrDieIE
  14. from .gametrailers import GametrailersIE
  15. from .generic import GenericIE
  16. from .googleplus import GooglePlusIE
  17. from .googlesearch import GoogleSearchIE
  18. from .howcast import HowcastIE
  19. from .hypem import HypemIE
  20. from .ina import InaIE
  21. from .infoq import InfoQIE
  22. from .justintv import JustinTVIE
  23. from .keek import KeekIE
  24. from .liveleak import LiveLeakIE
  25. from .metacafe import MetacafeIE
  26. from .mixcloud import MixcloudIE
  27. from .mtv import MTVIE
  28. from .myspass import MySpassIE
  29. from .myvideo import MyVideoIE
  30. from .nba import NBAIE
  31. from .statigram import StatigramIE
  32. from .photobucket import PhotobucketIE
  33. from .pornotube import PornotubeIE
  34. from .rbmaradio import RBMARadioIE
  35. from .redtube import RedTubeIE
  36. from .soundcloud import SoundcloudIE, SoundcloudSetIE
  37. from .spiegel import SpiegelIE
  38. from .stanfordoc import StanfordOpenClassroomIE
  39. from .steam import SteamIE
  40. from .teamcoco import TeamcocoIE
  41. from .ted import TEDIE
  42. from .tumblr import TumblrIE
  43. from .ustream import UstreamIE
  44. from .vbox7 import Vbox7IE
  45. from .vimeo import VimeoIE
  46. from .vine import VineIE
  47. from .worldstarhiphop import WorldStarHipHopIE
  48. from .xnxx import XNXXIE
  49. from .xhamster import XHamsterIE
  50. from .xvideos import XVideosIE
  51. from .yahoo import YahooIE, YahooSearchIE
  52. from .youjizz import YouJizzIE
  53. from .youku import YoukuIE
  54. from .youporn import YouPornIE
  55. from .youtube import YoutubeIE, YoutubePlaylistIE, YoutubeSearchIE, YoutubeUserIE, YoutubeChannelIE
  56. from .zdf import ZDFIE
  57. def gen_extractors():
  58. """ Return a list of an instance of every supported extractor.
  59. The order does matter; the first extractor matched is the one handling the URL.
  60. """
  61. return [
  62. YoutubePlaylistIE(),
  63. YoutubeChannelIE(),
  64. YoutubeUserIE(),
  65. YoutubeSearchIE(),
  66. YoutubeIE(),
  67. MetacafeIE(),
  68. DailymotionIE(),
  69. GoogleSearchIE(),
  70. PhotobucketIE(),
  71. YahooIE(),
  72. YahooSearchIE(),
  73. DepositFilesIE(),
  74. FacebookIE(),
  75. BlipTVIE(),
  76. BlipTVUserIE(),
  77. VimeoIE(),
  78. MyVideoIE(),
  79. ComedyCentralIE(),
  80. EscapistIE(),
  81. CollegeHumorIE(),
  82. XVideosIE(),
  83. SoundcloudSetIE(),
  84. SoundcloudIE(),
  85. InfoQIE(),
  86. MixcloudIE(),
  87. StanfordOpenClassroomIE(),
  88. MTVIE(),
  89. YoukuIE(),
  90. XNXXIE(),
  91. YouJizzIE(),
  92. PornotubeIE(),
  93. YouPornIE(),
  94. GooglePlusIE(),
  95. ArteTvIE(),
  96. NBAIE(),
  97. WorldStarHipHopIE(),
  98. JustinTVIE(),
  99. FunnyOrDieIE(),
  100. SteamIE(),
  101. UstreamIE(),
  102. RBMARadioIE(),
  103. EightTracksIE(),
  104. KeekIE(),
  105. TEDIE(),
  106. MySpassIE(),
  107. SpiegelIE(),
  108. LiveLeakIE(),
  109. ARDIE(),
  110. ZDFIE(),
  111. TumblrIE(),
  112. BandcampIE(),
  113. RedTubeIE(),
  114. InaIE(),
  115. HowcastIE(),
  116. VineIE(),
  117. FlickrIE(),
  118. TeamcocoIE(),
  119. XHamsterIE(),
  120. HypemIE(),
  121. Vbox7IE(),
  122. GametrailersIE(),
  123. StatigramIE(),
  124. GenericIE()
  125. ]
  126. def get_info_extractor(ie_name):
  127. """Returns the info extractor class with the given ie_name"""
  128. return globals()[ie_name+'IE']