diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/main.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.py b/src/main.py index 11ad472..8953571 100644 --- a/src/main.py +++ b/src/main.py @@ -39,6 +39,7 @@ def get_pbn_source(config): r = requests.get(config['url'], auth=request_auth, headers=request_headers) r.raise_for_status() + r.encoding = config.get('encoding', 'utf8') remote_content = r.text logging.info('Fetched %d bytes', len(remote_content)) |