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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user