For some reason, Python's zipfile
library cannot extract the files in this password-protected zipfile archive. Here is the code I used:
import zipfile
zip_filename = 'extract_public_2018_20201006094007483_71129_20201001-20201006Texas.zip'
zipfile_password = b'&CkN52mKji3R8^4aI#7Z'
with zipfile.ZipFile(zip_filename) as myzip:
myzip.extractall(pwd=zipfile_password)
This is the error I get: NotImplementedError: That compression method is not supported
I dug a little deeper and found that the compression method for the files inside this archive is 99. Where can I find what this compression method really is? And does this just mean I can't unzip this file using Python's zipfile
librabry?
I'm using Python 3.8.
PKWare's appnote says that 99 is:
...
I'm guessing there are no libraries to help with that. You're probably stuck using 7z or PKZIP.