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:
@@ -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 = [];
|
||||
|
Reference in New Issue
Block a user