mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-13 20:14:10 +02:00
fix: various small fixes (#3517)
* fix(asrocknews): Trying to get property src of non-object Trying to get property 'src' of non-object at bridges/ASRockNewsBridge.php line 37 * refactor(http): tweak max redirs config * fix(tiktok) * fix(gizmodo) * fix(craig) * fix(nationalg) * fix(roadandtrack) * fix(etsy)
This commit is contained in:
@@ -22,7 +22,7 @@ class GizmodoBridge extends FeedExpander
|
||||
// Get header image
|
||||
$image = $html->find('meta[property="og:image"]', 0)->content;
|
||||
|
||||
$item['content'] = $html->find('div.js_post-content', 0)->innertext;
|
||||
$item['content'] = $html->find('div.js_post-content', 0)->innertext ?? '';
|
||||
|
||||
// Get categories
|
||||
$categories = explode(',', $html->find('meta[name="keywords"]', 0)->content);
|
||||
|
Reference in New Issue
Block a user