From 33f8a8a37a9cba738ef25fb99955f0730da9eb48 Mon Sep 17 00:00:00 2001 From: Unit 193 Date: Tue, 14 Oct 2025 00:23:10 -0400 Subject: New upstream version 1.30.10. --- gallery_dl/extractor/recursive.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gallery_dl/extractor/recursive.py') 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 -- cgit v1.2.3