Reduce default peertube sites to a minimal set

merge-requests/22/merge
Bob Mottram 2021-09-07 17:29:59 +01:00
parent eaf30ff15b
commit 717c2c9c58
1 changed files with 2 additions and 22 deletions

View File

@ -115,36 +115,16 @@ def _addEmbeddedVideoFromSites(translate: {}, content: str,
# peertube sites. # peertube sites.
peerTubeSites = peertubeInstances peerTubeSites = peertubeInstances
else: else:
# A default selection of the current larger peertube sites, # A default minimal set of peertube instances
# mostly French and German language.
# These have only been semi-vetted, and so should be under
# continuous review.
# Also see https://peertube_isolation.frama.io/list/ for # Also see https://peertube_isolation.frama.io/list/ for
# adversarial instances. Nothing in that list should be # adversarial instances. Nothing in that list should be
# in the defaults below. # in the defaults below.
peerTubeSites = ('share.tube', peerTubeSites = ('share.tube',
'tube.22decembre.eu',
'libre.video',
'peertube.linuxrocks.online',
'spacepub.space',
'tube.tchncs.de',
'video.irem.univ-paris-diderot.fr',
'peertube.openstreetmap.fr',
'video.antopie.org',
'scitech.video',
'video.ploud.fr',
'diode.zone',
'visionon.tv', 'visionon.tv',
'peertube.fr', 'peertube.fr',
'peertube.live',
'kolektiva.media', 'kolektiva.media',
'betamax.video',
'peertube.social', 'peertube.social',
'videos.lescommuns.org', 'videos.lescommuns.org')
'video.tedomum.net',
'tilvids.com',
'exode.me',
'peertube.video')
for site in peerTubeSites: for site in peerTubeSites:
site = site.strip() site = site.strip()
if not site: if not site: