diff options
Diffstat (limited to 'gallery_dl/extractor/recursive.py')
| -rw-r--r-- | gallery_dl/extractor/recursive.py | 2 |
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 |
