mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2024-11-29 06:38:51 +03:00
parent
1ffb2df46d
commit
2c94791bcd
1 changed files with 4 additions and 1 deletions
|
@ -99,8 +99,11 @@ class YoutubeBridge extends BridgeAbstract
|
|||
}
|
||||
|
||||
$jsonData = $this->getJSONData($html);
|
||||
$jsonData = $jsonData->contents->twoColumnWatchNextResults->results->results->contents;
|
||||
if (! isset($jsonData->contents)) {
|
||||
return;
|
||||
}
|
||||
|
||||
$jsonData = $jsonData->contents->twoColumnWatchNextResults->results->results->contents;
|
||||
$videoSecondaryInfo = null;
|
||||
foreach ($jsonData as $item) {
|
||||
if (isset($item->videoSecondaryInfoRenderer)) {
|
||||
|
|
Loading…
Reference in a new issue