Automating Bookshare

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

 



It sounds like you would have to make the script surf the web like a user 
would, going in to the user name box, putting it in, same for password, etc, 
but how on earth would you ever get it to do the search and pick the 
results? It sounds as hard as making a Windows GUI file converter convert 
every file in a directory, given you have nothing but tabbing and 
shift-tabbing specified numbers of times and hoping you land on what you 
need.

----- Original Message ----- 
From: "Alex Snow" <alex_snow@xxxxxxx>
To: <speakup at braille.uwo.ca>
Sent: Thursday, February 21, 2008 8:34 AM
Subject: Re: Automating Bookshare


> Yeah but the problem with this is it still tries to use http
> authentication, which won't work for bookshare.
> On Wed, Feb 20, 2008 at
> 06:10:27PM -0700, Steve Dawes wrote:
>> Here is a sample lftp script.
>> I have documented it for you to understand what you need to do to make it
>> work.
>> Lines starting with a # are the comments.
>> To call a lftp script do the following:
>> lftp -f SampleScript.lftp
>>
>> SampleScript.lftp
>> # LFTP script to automate a file(s) transfer.
>>
>> # Log into the desired Web site with your userid and password.
>> If you do not need a userid and password, remove the "-u userid,password"
>> from the next line.
>> open -u USERID,PASSWORD URL
>> #UReplace USERID,PASSWORD with your login information.
>> # URL E.G. https//your.domain.com/ (NOTE the "/" at the end of the line 
>> is
>> important)
>>
>> # Change the local directory to where you want to store the downloaded
>> files.
>> lcd MyDownloads
>>
>> # Change to the location of the files to be transferred.
>> cd FileLocation/ # (Again the "/" is necessary)
>>
>> # now get the file(s)
>> mget **.FileExtention # (change mget to get for a single file)
>> # to get a directory, use
>> # mirror DirectoryName/ (the "/" is not necessary)
>>
>> # Log out
>> bye
>>
>> # End-of-script
>>
>> If you have any questions, let me know.
>> HTH
>>
>> Steve Dawes
>> Calgary Canada.
>>
>>
>> _______________________________________________
>> Speakup mailing list
>> Speakup at braille.uwo.ca
>> http://speech.braille.uwo.ca/mailman/listinfo/speakup
>
> -- 
>> > Other than the fact Linux has a cool name, could someone explain why I
>> > should use Linux over BSD?
>>
>> No.  That's it.  The cool name, that is.  We worked very hard on
>> creating a name that would appeal to the majority of people, and it
>> certainly paid off: thousands of people are using linux just to be able
>> to say "OS/2? Hah.  I've got Linux.  What a cool name".  386BSD made the
>> mistake of putting a lot of numbers and weird abbreviations into the
>> name, and is scaring away a lot of people just because it sounds too
>> technical.
> -- Linus Torvalds' follow-up to a question about Linux
>
> _______________________________________________
> Speakup mailing list
> Speakup at braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
> 





[Index of Archives]     [Linux for the Blind]     [Fedora Discussioin]     [Linux Kernel]     [Yosemite News]     [Big List of Linux Books]
  Powered by Linux