1
0
mirror of https://github.com/RSS-Bridge/rss-bridge.git synced 2025-10-27 21:35:09 +01:00

Update AppleMusicBridge html parsing

switch from getSimpleHTMLDOM() to getContents() to handle certain characters like '<' that break otherwise valid artist feeds.
This commit is contained in:
retinoic
2025-09-30 12:30:28 -04:00
committed by Mynacol
parent 03a937b764
commit 34a5b33416

View File

@@ -66,7 +66,7 @@ class AppleMusicBridge extends BridgeAbstract
}
$url = 'https://itunes.apple.com/lookup?id=' . $this->getInput('artist') . '&entity=album&limit=' . $limit . '&sort=recent';
$html = getSimpleHTMLDOM($url);
$html = getContents($url);
$json = json_decode($html);
$result = $json->results;