mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-12 11:34:09 +02:00
fix(duckduckgo): order by date (#3689)
This commit is contained in:
@@ -228,7 +228,10 @@ class YoutubeBridge extends BridgeAbstract
|
||||
return;
|
||||
}
|
||||
|
||||
$jsonData = $jsonData->contents->twoColumnWatchNextResults->results->results->contents;
|
||||
$jsonData = $jsonData->contents->twoColumnWatchNextResults->results->results->contents ?? null;
|
||||
if (!$jsonData) {
|
||||
throw new \Exception('Unable to find json data');
|
||||
}
|
||||
$videoSecondaryInfo = null;
|
||||
foreach ($jsonData as $item) {
|
||||
if (isset($item->videoSecondaryInfoRenderer)) {
|
||||
|
Reference in New Issue
Block a user