Displaying 1 result from an estimated 1 matches for "bu_csv".
Did you mean:
_csv
2008 Apr 29
6
Intercepting an onClick file download
...to
correctly identify that.
Here is the link to the file I''m trying to retrieve:
<td style="vertical-align: bottom; text-align: center;">
<a href="#" onClick="dataExport( ''csv'' ); return false;"><img
src="/img/buttons/bu_csv.gif" width="37" height="17" style="border:
none;" alt="Export to CVS"></a>
</td>
Here is my code (partial):
agent = WWW::Mechanize.new { |a| a.log = Logger.new("mech.log") }
agent.keep_alive = false
agent.read_timeout = 60 # t...