__init__.py 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146
  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 .freesound import FreesoundIE
  33. from .funnyordie import FunnyOrDieIE
  34. from .gamespot import GameSpotIE
  35. from .gametrailers import GametrailersIE
  36. from .generic import GenericIE
  37. from .googleplus import GooglePlusIE
  38. from .googlesearch import GoogleSearchIE
  39. from .hark import HarkIE
  40. from .hotnewhiphop import HotNewHipHopIE
  41. from .howcast import HowcastIE
  42. from .hypem import HypemIE
  43. from .ign import IGNIE, OneUPIE
  44. from .ina import InaIE
  45. from .infoq import InfoQIE
  46. from .instagram import InstagramIE
  47. from .jeuxvideo import JeuxVideoIE
  48. from .jukebox import JukeboxIE
  49. from .justintv import JustinTVIE
  50. from .kankan import KankanIE
  51. from .kickstarter import KickStarterIE
  52. from .keek import KeekIE
  53. from .liveleak import LiveLeakIE
  54. from .livestream import LivestreamIE
  55. from .metacafe import MetacafeIE
  56. from .metacritic import MetacriticIE
  57. from .mit import TechTVMITIE, MITIE
  58. from .mixcloud import MixcloudIE
  59. from .mtv import MTVIE
  60. from .muzu import MuzuTVIE
  61. from .myspass import MySpassIE
  62. from .myvideo import MyVideoIE
  63. from .naver import NaverIE
  64. from .nba import NBAIE
  65. from .nbc import NBCNewsIE
  66. from .ooyala import OoyalaIE
  67. from .orf import ORFIE
  68. from .pbs import PBSIE
  69. from .photobucket import PhotobucketIE
  70. from .pornotube import PornotubeIE
  71. from .rbmaradio import RBMARadioIE
  72. from .redtube import RedTubeIE
  73. from .ringtv import RingTVIE
  74. from .ro220 import Ro220IE
  75. from .roxwel import RoxwelIE
  76. from .rtlnow import RTLnowIE
  77. from .sina import SinaIE
  78. from .slashdot import SlashdotIE
  79. from .sohu import SohuIE
  80. from .soundcloud import SoundcloudIE, SoundcloudSetIE
  81. from .spiegel import SpiegelIE
  82. from .stanfordoc import StanfordOpenClassroomIE
  83. from .statigram import StatigramIE
  84. from .steam import SteamIE
  85. from .teamcoco import TeamcocoIE
  86. from .ted import TEDIE
  87. from .tf1 import TF1IE
  88. from .thisav import ThisAVIE
  89. from .traileraddict import TrailerAddictIE
  90. from .trilulilu import TriluliluIE
  91. from .tudou import TudouIE
  92. from .tumblr import TumblrIE
  93. from .tutv import TutvIE
  94. from .unistra import UnistraIE
  95. from .ustream import UstreamIE
  96. from .vbox7 import Vbox7IE
  97. from .veehd import VeeHDIE
  98. from .veoh import VeohIE
  99. from .vevo import VevoIE
  100. from .videofyme import VideofyMeIE
  101. from .vimeo import VimeoIE, VimeoChannelIE
  102. from .vine import VineIE
  103. from .wat import WatIE
  104. from .weibo import WeiboIE
  105. from .wimp import WimpIE
  106. from .worldstarhiphop import WorldStarHipHopIE
  107. from .xhamster import XHamsterIE
  108. from .xnxx import XNXXIE
  109. from .xvideos import XVideosIE
  110. from .yahoo import YahooIE, YahooSearchIE
  111. from .youjizz import YouJizzIE
  112. from .youku import YoukuIE
  113. from .youporn import YouPornIE
  114. from .youtube import (
  115. YoutubeIE,
  116. YoutubePlaylistIE,
  117. YoutubeSearchIE,
  118. YoutubeUserIE,
  119. YoutubeChannelIE,
  120. YoutubeShowIE,
  121. YoutubeSubscriptionsIE,
  122. YoutubeRecommendedIE,
  123. YoutubeWatchLaterIE,
  124. YoutubeFavouritesIE,
  125. )
  126. from .zdf import ZDFIE
  127. _ALL_CLASSES = [
  128. klass
  129. for name, klass in globals().items()
  130. if name.endswith('IE') and name != 'GenericIE'
  131. ]
  132. _ALL_CLASSES.append(GenericIE)
  133. def gen_extractors():
  134. """ Return a list of an instance of every supported extractor.
  135. The order does matter; the first extractor matched is the one handling the URL.
  136. """
  137. return [klass() for klass in _ALL_CLASSES]
  138. def get_info_extractor(ie_name):
  139. """Returns the info extractor class with the given ie_name"""
  140. return globals()[ie_name+'IE']