uncache -z foo.zip tries to uncache https://unbox.ifarchive.org/HASH/FILE for every file inside foo.zip.
If this is too many files, we get an error:
HTTP Error 400: Bad Request
{"success":false,"errors":[{"code":1094,"message":"Exceeded maximum amount of files that can be purged on a single request for your plan type."}],"messages":[],"result":null}
I haven't looked up the limit, but we hit it with 56 files in the request: https://ifarchive.org/if-archive/games/zcode/spanish/Protector.zip
Gotta batch that.
(Also, we should catch and display exceptions from urllib.request.urlopen().)
uncache -z foo.zip
tries to uncachehttps://unbox.ifarchive.org/HASH/FILE
for every file insidefoo.zip
.If this is too many files, we get an error:
I haven't looked up the limit, but we hit it with 56 files in the request:
https://ifarchive.org/if-archive/games/zcode/spanish/Protector.zip
Gotta batch that.
(Also, we should catch and display exceptions from urllib.request.urlopen().)