Warrior Forum - The #1 Digital Marketing Forum & Marketplace

Warrior Forum - The #1 Digital Marketing Forum & Marketplace (https://www.warriorforum.com/)
-   Programming (https://www.warriorforum.com/programming/)
-   -   Creating a simple PHP scraper (https://www.warriorforum.com/programming/654916-creating-simple-php-scraper.html)

skjoldby 14th August 2012 06:20 PM

Creating a simple PHP scraper
 
Hello
I need to create a simple PHP scraper which scrapes prices from different URLs. Can anyone recomend a good codebase for this?

tweakr 14th August 2012 06:33 PM

Re: Creating a simple PHP scraper
 
I personally like PHP Simple HTML DOM

lisag 15th August 2012 08:19 AM

Quote:

Originally Posted by tweakr
I personally like PHP Simple HTML DOM

I second that vote



Posted from Warriorforum.com App for Android

SteveSRS 15th August 2012 05:36 PM

Re: Creating a simple PHP scraper
 
Quote:

Originally Posted by lisag (Post 6800122)
I second that vote



Posted from Warriorforum.com App for Android

I 'third' :) that vote..
It is a great start for scraping..

Rian 21st August 2012 01:51 PM

Re: Creating a simple PHP scraper
 
Quote:

Originally Posted by tweakr (Post 6796444)
I personally like PHP Simple HTML DOM

Quote:

Originally Posted by lisag (Post 6800122)
I second that vote



Posted from Warriorforum.com App for Android

Quote:

Originally Posted by SteveSRS (Post 6803536)
I 'third' :) that vote..
It is a great start for scraping..

Nice, thank you all!

MarketingAce 24th August 2012 04:41 PM

Re: Creating a simple PHP scraper
 
I actually like desktop applications that you can just fire up and let them go to work. Having to open up your browser, type in a url, wait for it to load, perform the scraping is more time consuming...

FredBliss 24th August 2012 04:58 PM

Re: Creating a simple PHP scraper
 
Definitely like simple html dom!

lordspace 24th August 2012 05:02 PM

Re: Creating a simple PHP scraper
 
... hm, if the HTML is not correctly written the parser may not work.
I think a scraper + regular express would be a better option.


All times are GMT -6. The time now is 06:38 AM.