1
0

Nutze Google Favicon API für ICON

This commit is contained in:
Akamaru
2025-11-17 21:05:13 +01:00
parent a55d1abb80
commit 789c5391de
35 changed files with 67 additions and 145 deletions

View File

@@ -3,13 +3,10 @@ class IndiegalaFreebiesBridge extends BridgeAbstract {
const MAINTAINER = 'Akamaru';
const NAME = 'Indiegala Freebies';
const URI = 'https://freebies.indiegala.com/';
const ICON = 'https://www.google.com/s2/favicons?domain=freebies.indiegala.com&sz=32';
const CACHE_TIMEOUT = 21600; // 6h
const DESCRIPTION = 'Get the latest free PC games from Indiegala Freebies.';
public function getIcon() {
return 'https://freebies.indiegala.com/favicon.ico';
}
public function collectData() {
$html = getSimpleHTMLDOM(self::URI);
if (!$html) return;