|
|
|
@ -249,6 +249,7 @@
|
|
|
|
|
'SDIR-JSON' => 'https://session.directory/scrape.php',
|
|
|
|
|
'FARK' => 'https://freearkham.cc/',
|
|
|
|
|
'SIMP' => 'https://simplifiedprivacy.com/techgroups',
|
|
|
|
|
'LISP' => 'https://junk.landedin.space/communities.html',
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
private readonly string $contents_asgl;
|
|
|
|
@ -256,6 +257,7 @@
|
|
|
|
|
private readonly string $contents_sdir;
|
|
|
|
|
private readonly string $contents_fark;
|
|
|
|
|
private readonly string $contents_simp;
|
|
|
|
|
private readonly string $contents_lisp;
|
|
|
|
|
private readonly string $contents_aggregated;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
@ -283,6 +285,9 @@
|
|
|
|
|
log_info("Requesting SimplifiedPrivacy.com list...");
|
|
|
|
|
$this->contents_simp = CommunitySources::fetch_source('SIMP');
|
|
|
|
|
|
|
|
|
|
log_info("Requesting landedin.space list...");
|
|
|
|
|
$this->contents_lisp = CommunitySources::fetch_source('LISP');
|
|
|
|
|
|
|
|
|
|
log_info("Parsing extra information...");
|
|
|
|
|
if (!$this->process_sources()) {
|
|
|
|
|
log_error("Could not parse extra information from one or more sources.");
|
|
|
|
@ -295,6 +300,7 @@
|
|
|
|
|
$this->contents_fark .
|
|
|
|
|
$this->contents_loki .
|
|
|
|
|
$this->contents_simp .
|
|
|
|
|
$this->contents_lisp .
|
|
|
|
|
// Slashes are escaped when served, unescape them
|
|
|
|
|
str_replace("\\/", "/", $this->contents_sdir);
|
|
|
|
|
}
|
|
|
|
|