Ask a Question related to PHP Development, Design and Development.
-
Kyle Mizell #1
php to spider a website
I am looking for a script that I can use to spider a website, and then pull
the images... I know how to do it for a single page, but, I would like to be
able to do this for the entire site. Any suggestions?
Thanks,
Kyle Mizell
[url]http://www.pimpinonline.com[/url]
Kyle Mizell Guest
-
Verity Spider license
Who do I purchase an external license for the verity spider from? Coldfusion or Verity? Thanks Ben -
Web Spider Component
Does anyone know of a good web spidering component available to crawl and extract llinks in coldfusion? -
Question regarding Verity Spider
I am using Verity Spider to index pages of one of our websites, and everything seems to be going ok. However, if you type in a search keyword in... -
php web spider
Hi I have a device (a wireless access point) wich is configurable using its internal web server. I did a little php script that opens a socket to... -
Spider Web Effect
Hi All I am trying to create a spider web effect and am not having much luck... any ideas. It can be lieteral or stylised as long as it suggest a... -
jn #2
Re: php to spider a website
"Kyle Mizell" <kyle@pimpinonline.comNOSPAM> wrote in message
news:qewyb.174752$Dw6.686810@attbi_s02...pull> I am looking for a script that I can use to spider a website, and thenbe> the images... I know how to do it for a single page, but, I would like toI don't know about your question, but pimpinonline.com is awesome.> able to do this for the entire site. Any suggestions?
>
> Thanks,
> Kyle Mizell
> [url]http://www.pimpinonline.com[/url]
>
>
>
jn Guest
-
Kevin Thorpe #3
Re: php to spider a website
Kyle Mizell wrote:
Why php? Use wget if all you want is a somple spider job.> I am looking for a script that I can use to spider a website, and then pull
> the images... I know how to do it for a single page, but, I would like to be
> able to do this for the entire site. Any suggestions?
Kevin Thorpe Guest
-
Andy Hassall #4
Re: php to spider a website
On Mon, 01 Dec 2003 00:49:26 GMT, "Kyle Mizell" <kyle@pimpinonline.comNOSPAM>
wrote:
PHP has HTTP client functions; you can simply use file() with a URL.>I am looking for a script that I can use to spider a website, and then pull
>the images... I know how to do it for a single page, but, I would like to be
>able to do this for the entire site. Any suggestions?
However, to extract information from the HTML, you need an HTML parser
(regular expressions alone are not sufficient). PHP doesn't have one built in
or as one of the standard extensions. Personally I'd use Perl for this (e.g.
HTML::Parser). I think there is an HTML parser for PHP called HTML-Sax, have a
search for that.
--
Andy Hassall (andy@andyh.co.uk) icq(5747695) ([url]http://www.andyh.co.uk[/url])
Space: disk usage analysis tool ([url]http://www.andyhsoftware.co.uk/space[/url])
Andy Hassall Guest
-
lazo #5
Re: php to spider a website
"Kyle Mizell" <kyle@pimpinonline.comNOSPAM> wrote in message news:<qewyb.174752$Dw6.686810@attbi_s02>...
As you do for one page do for all your pages.> I am looking for a script that I can use to spider a website, and then pull
> the images... I know how to do it for a single page, but, I would like to be
> able to do this for the entire site. Any suggestions?
>
> Thanks,
> Kyle Mizell
> [url]http://www.pimpinonline.com[/url]
In one array store all links foud on first page (eliminate
duplicates), then do for all this pages as for first page.
I think the beset is to make function, which save one page and return
found links, then call your function with all urls.
While you are saving a page you have to replace links because static
names will be diferent
i.e.
members.php?search_sex=Male&search=kyle@pimpinonli ne.com&unset_search=true
replace with
members_php_search_sex_Male_search_kyle_pimpinonli ne_com_unset_search_true.HTML
and so name all stored pages.
enjoy
lazo Guest



Reply With Quote

