Boston Linux & UNIX was originally founded in 1994 as part of The Boston Computer Society. We meet on the third Wednesday of each month at the Massachusetts Institute of Technology, in Building E51.

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Discuss] Facebook backups?



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+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
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



BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org