1
0
mirror of https://github.com/RSS-Bridge/rss-bridge.git synced 2025-10-15 16:54:28 +02:00

[RutubeBridge] Follow site updates to fix videos listing retrieval (#4703)

This commit is contained in:
Eugene Molotov
2025-09-12 23:28:09 +05:00
committed by GitHub
parent 3c2e1cb714
commit 7c9b39ae33

View File

@@ -85,7 +85,7 @@ class RutubeBridge extends BridgeAbstract
$reduxState = $this->getJSONData($html);
$videos = [];
if ($this->getInput('c')) {
$videosMethod = 'videos(' . $this->getInput('c') . ')';
$videosMethod = 'allVideos(' . $this->getInput('c') . ',)';
$channelInfoMethod = 'channelInfo({"userChannelId":' . $this->getInput('c') . '})';
$videos = $reduxState->api->queries->$videosMethod->data->results;
$this->title = $reduxState->api->queries->$channelInfoMethod->data->name;