mirror of
https://gitea.invidious.io/iv-org/invidious-copy-2022-08-14.git
synced 2024-08-15 00:53:20 +00:00
increase the max videos in a playlist
This commit is contained in:
parent
84124b837d
commit
dccdf38ce7
1 changed files with 1 additions and 1 deletions
|
@ -445,7 +445,7 @@ def get_playlist_videos(db, playlist, offset, locale = nil, continuation = nil)
|
|||
|
||||
videos = [] of PlaylistVideo
|
||||
|
||||
until videos.size >= 100 || videos.size == playlist.video_count || offset >= playlist.video_count
|
||||
until videos.size >= 200 || videos.size == playlist.video_count || offset >= playlist.video_count
|
||||
# 100 videos per request
|
||||
ctoken = produce_playlist_continuation(playlist.id, offset)
|
||||
initial_data = request_youtube_api_browse(ctoken)
|
||||
|
|
Loading…
Reference in a new issue