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.

148 lines
3.9 KiB

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