|
|
|
@ -226,13 +226,15 @@
|
|
|
|
|
'SDIR-BASE' => 'https://session.directory/',
|
|
|
|
|
'SDIR-PATTERN' => '/view_session_group_user_lokinet\.php\?id=\d+/',
|
|
|
|
|
'SDIR-JSON' => 'https://session.directory/scrape.php',
|
|
|
|
|
'FARK' => 'https://freearkham.cc/'
|
|
|
|
|
'FARK' => 'https://freearkham.cc/',
|
|
|
|
|
'SIMP' => 'https://simplifiedprivacy.com/techgroups',
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
private readonly string $contents_asgl;
|
|
|
|
|
private readonly string $contents_loki;
|
|
|
|
|
private readonly string $contents_sdir;
|
|
|
|
|
private readonly string $contents_fark;
|
|
|
|
|
private readonly string $contents_simp;
|
|
|
|
|
private readonly string $contents_aggregated;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
@ -257,6 +259,9 @@
|
|
|
|
|
log_info("Requesting FreeArkham.cc list...");
|
|
|
|
|
$this->contents_fark = CommunitySources::fetch_source('FARK');
|
|
|
|
|
|
|
|
|
|
log_info("Requesting SimplifiedPrivacy.com list...");
|
|
|
|
|
$this->contents_simp = CommunitySources::fetch_source('SIMP');
|
|
|
|
|
|
|
|
|
|
log_info("Parsing extra information...");
|
|
|
|
|
if (!$this->process_sources()) {
|
|
|
|
|
log_error("Could not parse extra information from one or more sources.");
|
|
|
|
@ -268,6 +273,7 @@
|
|
|
|
|
$this->contents_asgl .
|
|
|
|
|
$this->contents_fark .
|
|
|
|
|
$this->contents_loki .
|
|
|
|
|
$this->contents_simp .
|
|
|
|
|
// Slashes are escaped when served, unescape them
|
|
|
|
|
str_replace("\\/", "/", $this->contents_sdir);
|
|
|
|
|
}
|
|
|
|
|