pull/2497/head
diogo 3 years ago committed by Samantaz Fox
parent 24bc3e2704
commit 6176da3cbb
No known key found for this signature in database
GPG Key ID: F42821059186176E

@ -440,7 +440,6 @@ def get_playlist_videos(db, playlist, offset, locale = nil, continuation = nil)
videos = [] of PlaylistVideo videos = [] of PlaylistVideo
until videos.size >= 100 || videos.size == playlist.video_count || offset >= playlist.video_count until videos.size >= 100 || videos.size == playlist.video_count || offset >= playlist.video_count
# 100 videos per request # 100 videos per request
ctoken = produce_playlist_continuation(playlist.id, offset) ctoken = produce_playlist_continuation(playlist.id, offset)
initial_data = request_youtube_api_browse(ctoken) initial_data = request_youtube_api_browse(ctoken)

Loading…
Cancel
Save