mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-04-09 16:38:50 +00:00
parent
1ffb2df46d
commit
2c94791bcd
@ -99,8 +99,11 @@ class YoutubeBridge extends BridgeAbstract
|
|||||||
}
|
}
|
||||||
|
|
||||||
$jsonData = $this->getJSONData($html);
|
$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;
|
$videoSecondaryInfo = null;
|
||||||
foreach ($jsonData as $item) {
|
foreach ($jsonData as $item) {
|
||||||
if (isset($item->videoSecondaryInfoRenderer)) {
|
if (isset($item->videoSecondaryInfoRenderer)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user