summaryrefslogtreecommitdiffstats
path: root/gather.py
diff options
context:
space:
mode:
Diffstat (limited to 'gather.py')
-rwxr-xr-xgather.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/gather.py b/gather.py
index 2507311..77c6521 100755
--- a/gather.py
+++ b/gather.py
@@ -80,6 +80,7 @@ try:
logger.info(f"continuing from latest {borrow}")
acsm_id = borrow.id+1
r = requests.get(f"https://www.biblos.si/izposoja/prenesi/{acsm_id}.acsm", headers={"User-Agent": f"python-requests/{requests.__version__} (biblos-stat acsm scraper, contact operator: {operator_contact})"})
+ r.encoding = "UTF-8"
if (r.status_code == 200):
failed_acsms_not200_in_a_row = 0
if r.status_code != 200: