__init__.py 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152
  1. from .appletrailers import AppleTrailersIE
  2. from .addanime import AddAnimeIE
  3. from .archiveorg import ArchiveOrgIE
  4. from .ard import ARDIE
  5. from .arte import ArteTvIE
  6. from .auengine import AUEngineIE
  7. from .bandcamp import BandcampIE
  8. from .bliptv import BlipTVIE, BlipTVUserIE
  9. from .breakcom import BreakIE
  10. from .brightcove import BrightcoveIE
  11. from .c56 import C56IE
  12. from .canalplus import CanalplusIE
  13. from .canalc2 import Canalc2IE
  14. from .cnn import CNNIE
  15. from .collegehumor import CollegeHumorIE
  16. from .comedycentral import ComedyCentralIE
  17. from .condenast import CondeNastIE
  18. from .criterion import CriterionIE
  19. from .cspan import CSpanIE
  20. from .dailymotion import DailymotionIE, DailymotionPlaylistIE
  21. from .daum import DaumIE
  22. from .depositfiles import DepositFilesIE
  23. from .dotsub import DotsubIE
  24. from .dreisat import DreiSatIE
  25. from .defense import DefenseGouvFrIE
  26. from .ehow import EHowIE
  27. from .eighttracks import EightTracksIE
  28. from .escapist import EscapistIE
  29. from .exfm import ExfmIE
  30. from .facebook import FacebookIE
  31. from .flickr import FlickrIE
  32. from .francetv import (
  33. PluzzIE,
  34. FranceTvInfoIE,
  35. )
  36. from .freesound import FreesoundIE
  37. from .funnyordie import FunnyOrDieIE
  38. from .gamespot import GameSpotIE
  39. from .gametrailers import GametrailersIE
  40. from .generic import GenericIE
  41. from .googleplus import GooglePlusIE
  42. from .googlesearch import GoogleSearchIE
  43. from .hark import HarkIE
  44. from .hotnewhiphop import HotNewHipHopIE
  45. from .howcast import HowcastIE
  46. from .hypem import HypemIE
  47. from .ign import IGNIE, OneUPIE
  48. from .ina import InaIE
  49. from .infoq import InfoQIE
  50. from .instagram import InstagramIE
  51. from .jeuxvideo import JeuxVideoIE
  52. from .jukebox import JukeboxIE
  53. from .justintv import JustinTVIE
  54. from .kankan import KankanIE
  55. from .kickstarter import KickStarterIE
  56. from .keek import KeekIE
  57. from .liveleak import LiveLeakIE
  58. from .livestream import LivestreamIE
  59. from .metacafe import MetacafeIE
  60. from .metacritic import MetacriticIE
  61. from .mit import TechTVMITIE, MITIE
  62. from .mixcloud import MixcloudIE
  63. from .mtv import MTVIE
  64. from .muzu import MuzuTVIE
  65. from .myspass import MySpassIE
  66. from .myvideo import MyVideoIE
  67. from .naver import NaverIE
  68. from .nba import NBAIE
  69. from .nbc import NBCNewsIE
  70. from .ooyala import OoyalaIE
  71. from .orf import ORFIE
  72. from .pbs import PBSIE
  73. from .photobucket import PhotobucketIE
  74. from .pornotube import PornotubeIE
  75. from .rbmaradio import RBMARadioIE
  76. from .redtube import RedTubeIE
  77. from .ringtv import RingTVIE
  78. from .ro220 import Ro220IE
  79. from .roxwel import RoxwelIE
  80. from .rtlnow import RTLnowIE
  81. from .sina import SinaIE
  82. from .slashdot import SlashdotIE
  83. from .slideshare import SlideshareIE
  84. from .sohu import SohuIE
  85. from .soundcloud import SoundcloudIE, SoundcloudSetIE, SoundcloudUserIE
  86. from .southparkstudios import SouthParkStudiosIE
  87. from .spiegel import SpiegelIE
  88. from .stanfordoc import StanfordOpenClassroomIE
  89. from .statigram import StatigramIE
  90. from .steam import SteamIE
  91. from .teamcoco import TeamcocoIE
  92. from .ted import TEDIE
  93. from .tf1 import TF1IE
  94. from .thisav import ThisAVIE
  95. from .traileraddict import TrailerAddictIE
  96. from .trilulilu import TriluliluIE
  97. from .tudou import TudouIE
  98. from .tumblr import TumblrIE
  99. from .tutv import TutvIE
  100. from .unistra import UnistraIE
  101. from .ustream import UstreamIE, UstreamChannelIE
  102. from .vbox7 import Vbox7IE
  103. from .veehd import VeeHDIE
  104. from .veoh import VeohIE
  105. from .vevo import VevoIE
  106. from .videofyme import VideofyMeIE
  107. from .vimeo import VimeoIE, VimeoChannelIE
  108. from .vine import VineIE
  109. from .wat import WatIE
  110. from .weibo import WeiboIE
  111. from .wimp import WimpIE
  112. from .worldstarhiphop import WorldStarHipHopIE
  113. from .xhamster import XHamsterIE
  114. from .xnxx import XNXXIE
  115. from .xvideos import XVideosIE
  116. from .yahoo import YahooIE, YahooSearchIE
  117. from .youjizz import YouJizzIE
  118. from .youku import YoukuIE
  119. from .youporn import YouPornIE
  120. from .youtube import (
  121. YoutubeIE,
  122. YoutubePlaylistIE,
  123. YoutubeSearchIE,
  124. YoutubeUserIE,
  125. YoutubeChannelIE,
  126. YoutubeShowIE,
  127. YoutubeSubscriptionsIE,
  128. YoutubeRecommendedIE,
  129. YoutubeWatchLaterIE,
  130. YoutubeFavouritesIE,
  131. )
  132. from .zdf import ZDFIE
  133. _ALL_CLASSES = [
  134. klass
  135. for name, klass in globals().items()
  136. if name.endswith('IE') and name != 'GenericIE'
  137. ]
  138. _ALL_CLASSES.append(GenericIE)
  139. def gen_extractors():
  140. """ Return a list of an instance of every supported extractor.
  141. The order does matter; the first extractor matched is the one handling the URL.
  142. """
  143. return [klass() for klass in _ALL_CLASSES]
  144. def get_info_extractor(ie_name):
  145. """Returns the info extractor class with the given ie_name"""
  146. return globals()[ie_name+'IE']