mirror of
https://gitea.invidious.io/iv-org/invidious-copy-2022-04-11.git
synced 2024-08-15 00:43:26 +00:00
linting
This commit is contained in:
parent
24bc3e2704
commit
6176da3cbb
1 changed files with 0 additions and 1 deletions
|
@ -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…
Reference in a new issue