Re: Query Results on Multiple Pages

Andy Armstrong <[email protected]>
Newsgroups gmane.comp.lang.perl.modules.lwp
Message-ID <[email protected]>
On 10 Jul 2006, at 23:01, flynfast wrote:
> I'm trying to write a script to send a query to the patent and
> trademark office webpage and capture the URL's pointing to the patents
> identified.  The problem is that the results appear on more than one
> page (like Google lists its results on multiple pages).  How do I  
> write
> a script that will access the other pages?

Find the link to the next page in the source and fetch it. Repeat.

-- 
Andy Armstrong, hexten.net
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.