in reply to Program that will grep website for specified keyword
Amel has got you going down the right road with his suggestions. I used LWP::Simple to get the web pages, but be warned that you're going to pull all the graphics and everything else with you. Since my program did what I wanted at the time, I didn't look for a way to pull just source, which is what I believe you want to do, but it was suggested to me on here that I look at using a system call and use lynx to get only text.
Depending on the size of the page you're trying to search on, obviously pages that are graphic intensive will take longer to download. Also be aware that you're going to have to possibly deal with frames, and if you're going to take that in to account, then Amel is right, you're probably looking at some kind of recursion or something along those lines.
Hope that points you in a useful direction. :)
Good luck!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: In need of guidance....
by Mr. Muskrat (Canon) on Apr 24, 2002 at 21:47 UTC | |
by Popcorn Dave (Abbot) on Apr 24, 2002 at 22:12 UTC | |
by Mr. Muskrat (Canon) on Apr 24, 2002 at 22:35 UTC | |
by Popcorn Dave (Abbot) on Apr 25, 2002 at 02:59 UTC | |
by psykosmily (Initiate) on May 06, 2002 at 01:16 UTC |