diff options
| author | Omar Roth <omarroth@protonmail.com> | 2019-09-07 21:56:33 -0400 |
|---|---|---|
| committer | Omar Roth <omarroth@protonmail.com> | 2019-09-07 21:56:33 -0400 |
| commit | 86491da253f3c9eb12c885daa91990b72eb569f6 (patch) | |
| tree | 44343638bc6b09b1550f1db31bfe20bdc73054e5 /src | |
| parent | 90249cdafaf3c7b25619a14016e72ce5950907a6 (diff) | |
| download | invidious-86491da253f3c9eb12c885daa91990b72eb569f6.tar.gz invidious-86491da253f3c9eb12c885daa91990b72eb569f6.tar.bz2 invidious-86491da253f3c9eb12c885daa91990b72eb569f6.zip | |
Fix map for recommended videos
Diffstat (limited to 'src')
| -rw-r--r-- | src/invidious/videos.cr | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/invidious/videos.cr b/src/invidious/videos.cr index 7010fa97..7b68656e 100644 --- a/src/invidious/videos.cr +++ b/src/invidious/videos.cr @@ -706,11 +706,6 @@ struct Video return audio_streams end - def recommended_videos - @recommended_json = JSON.parse(@info["recommended_videos"]) if !@recommended_json - @recommended_json.not_nil! - end - def player_response @player_json = JSON.parse(@info["player_response"]) if !@player_json @player_json.not_nil! @@ -1123,6 +1118,8 @@ def extract_player_config(body, html) else nil end + else + rv end end params["rvs"] = (rvs.map &.to_s).join(",") |
