mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-28 18:40:15 +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:
@@ -39,7 +39,8 @@ class TikTokBridge extends BridgeAbstract
|
||||
// todo: find proper link to tiktok item
|
||||
$link = $div->find('a', 0)->href;
|
||||
|
||||
$image = $div->find('img', 0)->src;
|
||||
$image = $div->find('img', 0)->src ?? '';
|
||||
|
||||
$views = $div->find('strong.video-count', 0)->plaintext;
|
||||
|
||||
if ($link === 'https://www.tiktok.com/') {
|
||||
|
Reference in New Issue
Block a user