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.

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