Open huyz opened 7 months ago
FWIW: I got it working with 2to3 and the following two little patches:
url = url[:50] + "+" + sha256(url.encode("utf8")) + "+" + url[-50:]
with open_atomic(meta_file) as meta, open_atomic(target, "wb") as f:
Out of the several slack dumpers I tried, this is the most complete one - and the incremental mode on top of an existing archive is really nice.
I've attached the updated wayslack.py; works with Python 3.10.
Oh really, that simple? Thanks, I'll do a new release then…
Yep…