__init__.py 4.7 KB

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