__init__.py 4.2 KB

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