in reply to Mechnize, Links and Downloads

The link makes use of Javascript:

<a href="#" onclick="javascript: ouverturePopup('Status/DownloadFile.A +SP?CASNUM=50000&StatusCode=SIARC&DataNo=1'); return false;">50000.pdf +</a>

In other words, you should be able to retrieve this particular PDF via the URL:

http://cs3-hq.oecd.org/scripts/hpv/Status/DownloadFile.ASP?CASNUM=5000 +0&StatusCode=SIARC&DataNo=1

As this doesn't look too complicated to extract, you might get around having to execute the Javascript in this case...

Replies are listed 'Best First'.
Re^2: Mechnize, Links and Downloads
by Anonymous Monk on Aug 17, 2007 at 07:19 UTC
    Thank you very much. This was exactly what I wanted. Forgot about Javascript.