summaryrefslogtreecommitdiffstats
path: root/gather.py
diff options
context:
space:
mode:
Diffstat (limited to 'gather.py')
-rwxr-xr-xgather.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/gather.py b/gather.py
index 2992ae0..6b5cd36 100755
--- a/gather.py
+++ b/gather.py
@@ -104,6 +104,9 @@ try:
elif r.text.startswith('<error xmlns="http://ns.adobe.com/adept" data="E_URLLINK_PARAMETER_SYNTAX rights lrt http://cs.alliance.inkbook.eu:443/fulfillment/URLLink.acsm"/>'):
logger.warning(f"received urllink parameter syntax error with no usable data for acsm {acsm_id}, so I did not store anything")
force_acsm_id = acsm_id+1
+ if acsm_id >= 199999:
+ logger.warning(f"on 2022-11-07, library removed access for acsms 200000-999999. skipping to 1000000")
+ force_acsm_id = 1000000
failed_acsms += 1
else:
try: