__init__.py 6.6 KB

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