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.

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