summaryrefslogtreecommitdiffstats
path: root/gallery_dl/extractor/patreon.py
diff options
context:
space:
mode:
Diffstat (limited to 'gallery_dl/extractor/patreon.py')
-rw-r--r--gallery_dl/extractor/patreon.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/gallery_dl/extractor/patreon.py b/gallery_dl/extractor/patreon.py
index 570bd72..a14ec9c 100644
--- a/gallery_dl/extractor/patreon.py
+++ b/gallery_dl/extractor/patreon.py
@@ -98,8 +98,7 @@ class PatreonExtractor(Extractor):
headers = {"Referer": self.root}
while url:
- if not url.startswith("http"):
- url = "https://" + url.lstrip("/:")
+ url = text.ensure_http_scheme(url)
posts = self.request(url, headers=headers).json()
if "included" in posts: