1
0
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:
Dag
2023-07-02 06:40:25 +02:00
committed by GitHub
parent 372880b5ef
commit 748fc9fd65
9 changed files with 50 additions and 25 deletions

View File

@@ -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