aboutsummaryrefslogtreecommitdiffstats
path: root/gallery_dl/extractor/kemonoparty.py
diff options
context:
space:
mode:
Diffstat (limited to 'gallery_dl/extractor/kemonoparty.py')
-rw-r--r--gallery_dl/extractor/kemonoparty.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/gallery_dl/extractor/kemonoparty.py b/gallery_dl/extractor/kemonoparty.py
index 860e771..de7d040 100644
--- a/gallery_dl/extractor/kemonoparty.py
+++ b/gallery_dl/extractor/kemonoparty.py
@@ -123,6 +123,9 @@ class KemonopartyExtractor(Extractor):
g(post) for g in generators):
url = file["path"]
+ if "\\" in url:
+ file["path"] = url = url.replace("\\", "/")
+
match = find_hash(url)
if match:
file["hash"] = hash = match.group(1)