mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-28 18:40:15 +02:00
fix: various small notice fixes (#3474)
* fix(patreon): php notice * fix(pepperbridge): php notice * fix(ebay): php notice * fix(tiktok): php notice * fix(yandex): fix notice * fix(justwatch): notice * lint
This commit is contained in:
@@ -53,7 +53,13 @@ class TikTokBridge extends BridgeAbstract
|
||||
$views = $div->find('strong.video-count', 0)->plaintext;
|
||||
|
||||
$item['uri'] = $link;
|
||||
$item['title'] = $div->find('a', 1)->plaintext;
|
||||
|
||||
$a = $div->find('a', 1);
|
||||
if ($a) {
|
||||
$item['title'] = $a->plaintext;
|
||||
} else {
|
||||
$item['title'] = $this->getName();
|
||||
}
|
||||
$item['enclosures'][] = $image;
|
||||
|
||||
$item['content'] = <<<EOD
|
||||
|
Reference in New Issue
Block a user