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

fix: various small fixes (#3578)

This commit is contained in:
Dag
2023-07-29 00:14:30 +02:00
committed by GitHub
parent 11ce8b5dcd
commit 701fe3cfed
13 changed files with 87 additions and 39 deletions

View File

@@ -33,8 +33,9 @@ class TikTokBridge extends BridgeAbstract
$title = $html->find('h1', 0)->plaintext ?? self::NAME;
$this->feedName = htmlspecialchars_decode($title);
$SIGI_STATE_RAW = $html->find('script[id=SIGI_STATE]', 0)->innertext;
$SIGI_STATE = json_decode($SIGI_STATE_RAW);
$var = $html->find('script[id=SIGI_STATE]', 0);
$SIGI_STATE_RAW = $var->innertext;
$SIGI_STATE = Json::decode($SIGI_STATE_RAW, false);
foreach ($SIGI_STATE->ItemModule as $key => $value) {
$item = [];