summaryrefslogtreecommitdiffstats
path: root/gallery_dl/extractor/recursive.py
diff options
context:
space:
mode:
authorLibravatarUnit 193 <unit193@unit193.net>2025-10-14 00:23:10 -0400
committerLibravatarUnit 193 <unit193@unit193.net>2025-10-14 00:23:10 -0400
commit33f8a8a37a9cba738ef25fb99955f0730da9eb48 (patch)
treeb51fb48b160f5e5e034e6b4542e6f00703bae7ec /gallery_dl/extractor/recursive.py
parentbbe7fac03d881662a458e7fbf870c9d71f5257f4 (diff)
New upstream version 1.30.10.upstream/1.30.10
Diffstat (limited to 'gallery_dl/extractor/recursive.py')
-rw-r--r--gallery_dl/extractor/recursive.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gallery_dl/extractor/recursive.py b/gallery_dl/extractor/recursive.py
index 4762fa5..c553fec 100644
--- a/gallery_dl/extractor/recursive.py
+++ b/gallery_dl/extractor/recursive.py
@@ -22,7 +22,7 @@ class RecursiveExtractor(Extractor):
url = self.url.partition(":")[2]
if url.startswith("file://"):
- with open(url[7:]) as fp:
+ with open(url[7:], encoding="utf-8") as fp:
page = fp.read()
else:
page = self.request(text.ensure_http_scheme(url)).text