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

@@ -2,14 +2,11 @@
class FuturamaHitAndRunBridge extends BridgeAbstract {
const NAME = 'Futurama: Hit & Run Mod Releases';
const URI = 'https://modbakery.donutteam.com/projects/downloads/48/183';
const ICON = 'https://www.google.com/s2/favicons?domain=modbakery.donutteam.com&sz=32';
const DESCRIPTION = 'Returns the latest releases for the Futurama: Hit & Run total conversion mod';
const MAINTAINER = 'Akamaru';
const CACHE_TIMEOUT = 3600; // 1 hour
public function getIcon() {
return 'https://nyc3.digitaloceanspaces.com/donut-team/files/2025/10/18/19-46-33/15c954b6-e49f-417c-8fc6-4090186b3aa7/icon.webp';
}
public function collectData() {
$html = getSimpleHTMLDOM(self::URI);
if (!$html) return;