1
0
mirror of https://github.com/RSS-Bridge/rss-bridge.git synced 2025-08-29 02:50:31 +02:00

fix: php errors (#3013)

* fix: php error in tiktok bridge

* fix: notice in craigslist

* fix: php notice in wordpress bridge

* feat: improve ux in telegram bridge
This commit is contained in:
Dag
2022-09-06 00:14:20 +02:00
committed by GitHub
parent 8033a5f461
commit 0dab51e26f
4 changed files with 16 additions and 13 deletions

View File

@@ -42,7 +42,8 @@ class TikTokBridge extends BridgeAbstract
{
$html = getSimpleHTMLDOM($this->getURI());
$this->feedName = htmlspecialchars_decode($html->find('h1', 0)->plaintext);
$title = $html->find('h1', 0)->plaintext ?? self::NAME;
$this->feedName = htmlspecialchars_decode($title);
foreach ($html->find('div.tiktok-x6y88p-DivItemContainerV2') as $div) {
$item = [];