mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-02-16 15:19:55 +03:00
[PicukiBridge] Fix image URLs in content (#2282)
URLs in Picuki are already absolute
This commit is contained in:
parent
1ddce120ae
commit
42e40e2823
1 changed files with 1 additions and 5 deletions
|
@ -59,11 +59,7 @@ class PicukiBridge extends BridgeAbstract
|
|||
|
||||
$is_video = (bool) $element->find('.video-icon', 0);
|
||||
$item['content'] = ($is_video) ? '(video) ' : '';
|
||||
$item['content'] .= str_replace(
|
||||
'src="',
|
||||
'src="' . trim(self::URI, '/'),
|
||||
$element->find('.photo', 0)->outertext
|
||||
);
|
||||
$item['content'] .= $element->find('.photo', 0)->outertext;
|
||||
|
||||
$item['enclosures'] = array(
|
||||
// just add `.jpg` extension to get the correct mime type. All Instagram posts are JPG
|
||||
|
|
Loading…
Add table
Reference in a new issue