summaryrefslogtreecommitdiffstats
path: root/gallery_dl/extractor/vsco.py
diff options
context:
space:
mode:
authorLibravatarUnit 193 <unit193@unit193.net>2025-01-28 19:12:09 -0500
committerLibravatarUnit 193 <unit193@unit193.net>2025-01-28 19:12:09 -0500
commita26df18796ff4e506b16bf32fcec9336233b9e2e (patch)
tree876512f59831cd670a90a0bc92bc85def6ea3d82 /gallery_dl/extractor/vsco.py
parent0532a387ef5b7fcb4507a9b094dca37a5f635fe1 (diff)
New upstream version 1.28.5.upstream/1.28.5
Diffstat (limited to 'gallery_dl/extractor/vsco.py')
-rw-r--r--gallery_dl/extractor/vsco.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/gallery_dl/extractor/vsco.py b/gallery_dl/extractor/vsco.py
index 922a591..1c0c172 100644
--- a/gallery_dl/extractor/vsco.py
+++ b/gallery_dl/extractor/vsco.py
@@ -70,7 +70,8 @@ class VscoExtractor(Extractor):
def _extract_preload_state(self, url):
page = self.request(url, notfound=self.subcategory).text
- return util.json_loads(text.extr(page, "__PRELOADED_STATE__ = ", "<"))
+ return util.json_loads(text.extr(page, "__PRELOADED_STATE__ = ", "<")
+ .replace('"prevPageToken":undefined,', ''))
def _pagination(self, url, params, token, key, extra=None):
headers = {