On Wed, Feb 16, 2011 at 2:06 PM, Avi Bar Massada <[email protected]> wrote: > Hi Adam,
Hi, Avi. > I tried to do that, but the .zip file is corrupted. I think that this is > because the URL points to a web page with a link to the file, not to the > file itself. Thus, the save_html just saves the web page. > In case you want to have a look, the page is here: > http://data.gbif.org/download/downloadReady.htm?downloadFile=occurrence-search-12978055989365071032693658999911.zip > (notice that it will expire in about seven hours from now). Well, if you can know the name of the file, you can follow the link after going to the page: >> go >> http://data.gbif.org/download/downloadReady.htm?downloadFile=occurrence-search-12978055989365071032693658999911.zip >> showlinks Links: 0. Skip to Content ==> #mainContent [...] 11. Original search ==> /occurrences/search.htm?c[0].s=19&c[0].p=0&c[0].o=121.8W,44.9N,121.7W,45.0N&c[1].s=5&c[1].p=0&c[1].o=US 12. occurrence-search-12978055989365071032693658999911.zip (approx file size 1 KB) ==> /download/occurrence-search-12978055989365071032693658999911.zip 13. GBIF ==> http://www.gbif.org 14. Contact us ==> mailto:[email protected] >> follow occurrence-search-12978055989365071032693658999911.zip >> save_html occur.zip Is that possible? I use to give names to all links in my apps just for access them though twill and other automated tools. Maybe you can ease your work doing it if you are the creator of this site :) > Thanks a lot, You're welcome! -- Adam Victor Nazareth Brandizzi http://brandizzi.googlepages.com/ _______________________________________________ twill mailing list [email protected] http://lists.idyll.org/listinfo/twill
