diff options
| author | 2025-04-27 20:34:15 -0400 | |
|---|---|---|
| committer | 2025-04-27 20:34:15 -0400 | |
| commit | 3a12d48ab86c807fc29282e2bffea8a04bbb383b (patch) | |
| tree | 12829c0d6af8ce582f51f9b9dacc901bb60dff16 /gallery_dl/extractor/patreon.py | |
| parent | 791ab4bb3cdc72367f676a128b4c6ecd16470b4b (diff) | |
| parent | 4a18b5837c1dd82f5964afcfc3fecc53cd97e79c (diff) | |
Update upstream source from tag 'upstream/1.29.5'
Update to upstream version '1.29.5'
with Debian dir c46551cee05d39267f14cbe436ddc25833683f54
Diffstat (limited to 'gallery_dl/extractor/patreon.py')
| -rw-r--r-- | gallery_dl/extractor/patreon.py | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/gallery_dl/extractor/patreon.py b/gallery_dl/extractor/patreon.py index b8c6acb..2b6742e 100644 --- a/gallery_dl/extractor/patreon.py +++ b/gallery_dl/extractor/patreon.py @@ -109,11 +109,7 @@ class PatreonExtractor(Extractor): def _attachments(self, post): for attachment in post.get("attachments") or (): - url = self.request( - attachment["url"], method="HEAD", - allow_redirects=False, fatal=False, - ).headers.get("Location") - + url = self.request_location(attachment["url"], fatal=False) if url: yield "attachment", url, attachment["name"] |
