1
0
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:
Dag
2023-07-08 23:21:55 +02:00
committed by GitHub
parent 1a529fac46
commit 7881c87bed
8 changed files with 20 additions and 11 deletions

View File

@@ -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/') {