Automating Bookshare
Dawes, Stephen
Stephen.Dawes at calgary.ca
Wed Feb 20 16:12:47 EST 2008
Yes,
Have you tried lftp? You can script it as well. You call the lftp script
as follows:
lftp -f {sScriptFileName}
I use this method to get books from places that require a login when I
am wanting to download information
I can send you a sample lftp script offline if you like.
Steve Dawes
Phone: (403) 268-5527
Email: SDawes at calgary.ca
NOTICE -
This communication is intended ONLY for the use of the person or entity named above and may contain information that is confidential or legally privileged. If you are not the intended recipient named above or a person responsible for delivering messages or communications to the intended recipient, YOU ARE HEREBY NOTIFIED that any use, distribution, or copying of this communication or any of the information contained in it is strictly prohibited. If you have received this communication in error, please notify us immediately by telephone and then destroy or delete this communication, or return it to us by mail if requested by us. The City of Calgary thanks you for your attention and co-operation.
-----Original Message-----
From: speakup-bounces at braille.uwo.ca
[mailto:speakup-bounces at braille.uwo.ca] On Behalf Of Steve Holmes
Sent: 2008 February 20 1:48 PM
To: speakup at braille.uwo.ca
Subject: Re: Automating Bookshare
-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160
I ended up trying --user=<my user id> --password=<my password>
"http://www.bookshare.org/web/DownloadPeriodical.html?publishtitleid=ari
zona_republic&date=1203494400&format=1"
But I still only got an HTML file stating that I'm not logged in. I
think the command line parms for user and password only work with relm
based authentication. I don't think bookshare is using relm based
authentication, given that they have an actual login panel and a logout
option. Relm based authentication passes the user-id and password with
every http request. So I somehow need to walk through the login
sequence with wget and then request the link to the newspaper I want.
Does this make more sense?
More information about the Speakup
mailing list