mirror of
https://github.com/mikf/gallery-dl.git
synced 2024-11-23 03:02:50 +01:00
[vk] prevent exception for empty/private profiles (fixes 1742)
This commit is contained in:
parent
ac91a84543
commit
fe970fc87f
@ -88,6 +88,7 @@ class VkPhotosExtractor(Extractor):
|
||||
yield Message.Directory, data
|
||||
sub = re.compile(r"/imp[fg]/").sub
|
||||
needle = 'data-id="{}_'.format(user_id)
|
||||
cnt = 0
|
||||
|
||||
while True:
|
||||
offset, html = self.request(
|
||||
|
Loading…
Reference in New Issue
Block a user