__init__.py 5.8 KB

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