mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-05 02:24:35 +02:00
fix: various small fixes (#3578)
This commit is contained in:
parent
11ce8b5dcd
commit
701fe3cfed
13 changed files with 87 additions and 39 deletions
|
@ -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 = [];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue