mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-06 10:55:14 +02:00
fix: various small fixes (#3580)
This commit is contained in:
parent
8b6eecea25
commit
7e4807530e
8 changed files with 35 additions and 14 deletions
|
@ -34,6 +34,9 @@ class TikTokBridge extends BridgeAbstract
|
|||
$this->feedName = htmlspecialchars_decode($title);
|
||||
|
||||
$var = $html->find('script[id=SIGI_STATE]', 0);
|
||||
if (!$var) {
|
||||
throw new \Exception('Unable to find tiktok user data for ' . $this->processUsername());
|
||||
}
|
||||
$SIGI_STATE_RAW = $var->innertext;
|
||||
$SIGI_STATE = Json::decode($SIGI_STATE_RAW, false);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue