From 513c491ceaf725d0fc3d4d87afa8bfa85bb6940e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mike=20F=C3=A4hrmann?= Date: Wed, 7 Jul 2021 00:07:18 +0200 Subject: [PATCH] [mastodon] reset 'params' after first pagination iteration otherwise query parameters in 'params' get specified twice the second time around - once from the 'links["next"]' URL and once from 'params' itself. --- gallery_dl/extractor/mastodon.py | 1 + 1 file changed, 1 insertion(+) diff --git a/gallery_dl/extractor/mastodon.py b/gallery_dl/extractor/mastodon.py index d9aaafc4..3a295df8 100644 --- a/gallery_dl/extractor/mastodon.py +++ b/gallery_dl/extractor/mastodon.py @@ -208,6 +208,7 @@ class MastodonAPI(): if not url: return url = url["url"] + params = None @cache(maxage=100*365*24*3600, keyarg=0)