[ie/vk:uservideos] Fix extraction

Authored by: bashonly
This commit is contained in:
bashonly 2024-12-02 19:49:49 -06:00
parent 75133bfd66
commit 86bf208c55
No known key found for this signature in database
GPG Key ID: 783F096F253D15B0

View File

@ -561,7 +561,11 @@ class VKUserVideosIE(VKBaseIE):
'oid': page_id,
'section': section,
})[0][section]
count += video_list_json['count']
new_count = video_list_json['count']
if not new_count:
self.to_screen(f'{page_id}: Skipping {total - count} unavailable videos')
break
count += new_count
video_list = video_list_json['list']
def _real_extract(self, url):