diff options
| author | 2022-06-28 19:54:18 -0400 | |
|---|---|---|
| committer | 2022-06-28 19:54:18 -0400 | |
| commit | ce35450b5308adab049c5bd99095986d4c607027 (patch) | |
| tree | f0c2b600f8ef720941bdf615164b942c6c4a5d07 /gallery_dl/extractor/vk.py | |
| parent | 25442ea49f031d4d2df3353dd7e9ad2080e332da (diff) | |
New upstream version 1.22.3.upstream/1.22.3
Diffstat (limited to 'gallery_dl/extractor/vk.py')
| -rw-r--r-- | gallery_dl/extractor/vk.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gallery_dl/extractor/vk.py b/gallery_dl/extractor/vk.py index 23f6ea2..ab2153f 100644 --- a/gallery_dl/extractor/vk.py +++ b/gallery_dl/extractor/vk.py @@ -40,12 +40,12 @@ class VkExtractor(Extractor): continue try: - photo["url"], photo["width"], photo["height"] = photo[size] + _, photo["width"], photo["height"] = photo[size] except ValueError: # photo without width/height entries (#2535) - photo["url"] = photo[size + "src"] photo["width"] = photo["height"] = 0 + photo["url"] = photo[size + "src"] photo["id"] = photo["id"].rpartition("_")[2] photo.update(data) |
