wget to download Excel file with
xlsx extension. The thing is that when I want to deal with the file using
openpyxl, I get the following error: "BadZipfile: File is not a zip file" But when I download the file manually using fire fox, I don't have any problems.
So I checked the difference between the two downloaded files. I found that the manually one's size is much bigger (269.2 kB) compared to the wget one (7.3 kB), though both have the same content when moved to Win and open by MS Excel.
I don't add any options for the
wget just use it like
What's wrong with wget and Excel files?