in reply to LWP to help manage O'Reilly's Safari ?

It's not clear to me whether you are respecting your Terms of Use:
{You may ...} download and store sections of a book's contents onto your hard drive or other storage device for your use only for as long as that book remains available under your current subscription or the subscription of the third-party sponsoring your account, whereafter any content copied from Safari must be deleted or destroyed once the title is no longer in your subscription or you no longer have a subscription
and
{You agree ...} not to use "Web spiders" or any other automated retrieval mechanisms when using the Service other than what is provided by the Service
I would hate to think that I'd be helping you violate that agreement, especially since that might damage the only organization to send me a check consistently over the past decade.

-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.

Replies are listed 'Best First'.
Re: •Re: Safari
by jasonk (Parson) on Apr 23, 2003 at 19:44 UTC

    The way I read it he just wants to download the list of books that are currently on his bookshelf, to be notified when the 30 day minimum for a book expires, so that it can be traded for another book. I don't see anywhere in the message that says he wants to download the books themselves.

    That being said, since there isn't any code, all I can say is yes, it is possible, try WWW::Mechanize.


    We're not surrounded, we're in a target-rich environment!
      You're exactly right. I had previously solved the problem rather inelegantly and just wanted to learn some new perl skills (specifically LWP). However, your suggestion to use Mechanize was right on target.

      If the Oreilly people don't like the idea, then I won't post the final code. Otherwise I'll post it here. All in all, Mechanize solved the problem very easily. I'll probably do some research to see why my LWP code failed.

      Thanks for the help