Page 1 of 1

Re: Update Database from shell?

PostPosted: Sat Nov 14, 2015 2:35 am
by grumpwagon
You could probably do that with wget. There's a way to use a cookie file, so you could log in with a browser, take that cookie and use it with wget. There's probably a better way, but that would work. Take a look at the wget man pages

Re: Update Database from shell?

PostPosted: Sat Nov 14, 2015 11:02 am
by frnx
I've used the Mechanize Python library (originally a Perl lib rewritten in Python) for a similar thing before. Other than that curl can store cookies, so it might be enough. :wink: