mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2024-11-26 11:26:31 +03:00
Fix DonnonsBridge image not showing (#2521)
This commit is contained in:
parent
26f0380aaa
commit
076c413d3e
1 changed files with 3 additions and 1 deletions
|
@ -66,7 +66,9 @@ class DonnonsBridge extends BridgeAbstract {
|
|||
$region = $json['availableAtOrFrom']['address']['addressRegion'];
|
||||
|
||||
// Grab info from HTML
|
||||
$imageSrc = $element->find('img.ima-center', 0)->getAttribute('data-src');
|
||||
$imageSrc = $element->find('img.ima-center', 0)->getAttribute('src');
|
||||
// Use large image instead of small one
|
||||
$imageSrc = str_replace("/xs/", "/lg/", $imageSrc);
|
||||
$image = self::URI . $imageSrc;
|
||||
$author = $element->find('div.avatar-holder', 0)->plaintext;
|
||||
|
||||
|
|
Loading…
Reference in a new issue