Small modification of php script / web scraper

I have a bookstore price-comparison site. In order to keep it updatede - for one of the shops - I have a small php script (100 lines) that take product URL's from a text file and grabs various info about each book - and saves that info in a new CSV formatted .txt file.

It works quite well. I have two issues with it though that I would like to have fixed...

1. If a URL from the text-file full of links to individual book no longer exist (return a 404 error page) the script currently just stop at that line. I have to remove the URL at start the script over. This is very annoying as there are about 2000 URLs to go through - it takes some time. Instead I would like to have the script ignore that URL/page an go on to the next.

2. Sometimes books are on sale, but the script still just grabs the normal price. That's no good. Instead it should check to see if a book is on sale and if so include the sale-price instead of the normal one.

It's important that theses changes are done well and doesn't result in much longer execution times. Right now it take about 45 minutes for the script to go through all 2000 books.

I will send you the script as it is now and a test URLs file with about 20 books. Some on sale and some no longer exsisting and returning a 404 error page.

If you do the job well I would also be interested in hiring you to make more modifications of the script so that it would work with other online bookshops.

I need this done quickly. I have attached the first part of the script in case you would like to see how it looks.

Habilidades: PHP

Ver mais: web site error, web job online, small it job, online php job, online job on php, on line job hiring, new line in php, job online hiring, job now hiring, job hiring online, job hiring now, hiring php, hiring job online, fixed web page, 404 works, test execution, price comparison online, online price comparison, php test online, part time online works, info part time job, web test, theses, price comparison web site, price comparison script

Acerca do Empregador:
( 24 comentários ) Copenhagen S, Denmark

ID do Projeto: #554049

Premiar a:


Please send me the script I shall do it now.

$30 USD em 0 dias
(10 Avaliações)

can do it in next 8 hours. wildlily980

$50 USD em 0 dias
(48 Avaliações)

7 freelancers are bidding on average $84 for this job


I can do this work. Thanks, Suresh

$100 USD in 2 dias
(709 Comentários)

Let's start? Thank you, ay4

$50 USD in 0 dias
(71 Comentários)

Hi, please check PMB to know more about our technical expertise and capabilities. Regards

$200 USD in 2 dias
(12 Comentários)

Hi, I'm very interested in your modifying scraper script project. Hope to help you out. Please check your PMB. Thanks.

$105 USD in 2 dias
(16 Comentários)

Make it easy for your trouble

$50 USD in 2 dias
(0 Comentários)