note
Illuminatus
Your code example shows it writing the return from get_page_source to the file that you're renaming to ".zip". I wasn't sure if some additional transformation was necessary to remove the html 'wrapper'. These are the things I would do (some of which you may have already done):<ol>
<li>Download the zip file manually and verify that you can unzip it</li>
<li>If you're on a *nix system, run 'sum file.zip' and 'file file.zip' on the file and keep the results</li><li>Verfiy the 'content-encoding:' is what you expect</li><li>Once you use your script to download, use 'sum' and 'file' on the result(s) to look for differences</li></ol><b><p>fnord</p></b>
1048314
1048475