On Sun, Apr 27, 2014 at 11:56 PM, John Abreau <[email protected]> wrote:
> But both need to be operated > manually from within a web browser, and won't work from cron. > If wget/curl don't work, can you use a text-mode browser like Lynx, probably with 'expect'? If that doesn't work ... There are Perl modules to automate web client actions (often used as test harness for websites), e.g. WWW::Mechanize Examples: perladvent.pm.org/2002/16th/<http://perladvent.pm.org/2002/16th/> perladvent.pm.org/2007/1/ https://www.google.com/search?q=www+mechanize+tutorial http://search.cpan.org/dist/WWW-Mechanize/lib/WWW/Mechanize/Examples.pod More links at http://search.cpan.org/~ether/WWW-Mechanize/lib/WWW/Mechanize.pm#OTHER_DOCUMENTATIONand below. IIRC there is a companion Proxy tool to capture needed cookies and web.2.0 requests from an interactive session, but i haven't used it much. If you want to dig deeper, come on over to our boston.pm.org discuss list [email protected] (subscribe links<http://boston-pm.wikispaces.com/Mailing+Lists>), someone there will have used this. (One presumes the Python community will have reinvented this wheel for those that prefer such; looks like Ruby has.) -- Bill Ricker [email protected] https://www.linkedin.com/in/n1vux _______________________________________________ Boston-pm mailing list [email protected] http://mail.pm.org/mailman/listinfo/boston-pm

