aboutsummaryrefslogtreecommitdiffstats
path: root/gallery_dl/extractor/boosty.py
diff options
context:
space:
mode:
Diffstat (limited to 'gallery_dl/extractor/boosty.py')
-rw-r--r--gallery_dl/extractor/boosty.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gallery_dl/extractor/boosty.py b/gallery_dl/extractor/boosty.py
index e0383bf..22f3259 100644
--- a/gallery_dl/extractor/boosty.py
+++ b/gallery_dl/extractor/boosty.py
@@ -281,7 +281,7 @@ class BoostyAPI():
if not access_token:
if auth := self.extractor.cookies.get("auth", domain=".boosty.to"):
access_token = text.extr(
- auth, "%22accessToken%22%3A%22", "%22")
+ text.unquote(auth), '"accessToken":"', '"')
if access_token:
self.headers["Authorization"] = "Bearer " + access_token