[Discuss] Facebook backups?

Bill Ricker bill.n1vux at gmail.com
Mon Apr 28 10:27:36 EDT 2014


On Sun, Apr 27, 2014 at 11:56 PM, John Abreau <abreauj at gmail.com> 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+tutorialhttp://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
boston-pm at pm.org (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
bill.n1vux at gmail.com
https://www.linkedin.com/in/n1vux



More information about the Discuss mailing list