Nutze Google Favicon API für ICON
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user