__init__.py 5.5 KB

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