Devam Ediyor

477764 PHP Scraping Project

File 1: [url removed, login to view]

---------------------------

The format of [url removed, login to view] will look like this:

"Title 1";"900"

"Title 2";"300"

"Title 3";"1000"

"Title 4";"1000"

"Title 5";"1000"

etc, etc.

File 2: [url removed, login to view]

-------------------------

When [url removed, login to view] is run from a cron job, it will go to the URL

(mentioned above) that is to be scraped.

This URL contains prices that look like this:

Title 1 - $349 + $395

Title 2 - $265 + $290

etc, etc.

The script will need to compare the prices on the website, to what is

in [url removed, login to view]

For example, Title 1 is $349 + $395, or $744 total. The

script sees that 'Title 1' in [url removed, login to view] is specified as

900. Since $744 is less than $900, it will send me an e-mail. If the

price were over 900, it would not send me an e-mail.

It compares all prices from the URL with [url removed, login to view] and sends an

e-mail if any of the prices are less than what is specified in

[url removed, login to view]

The e-mail to be sent is just a basic one, that contains the title,

and the price found.

example e-mail:

SUBJECT: Title 1 under $900

BODY: Price: 744

Date To: May 07

Date Return: May 15

Link:

Other features:

- The script should also send an e-mail if it finds a "Title" on the

website that is not found in scrape.txt. For example, if the script

finds 'Title 8' at the URL but

'Title 8' is not specified in [url removed, login to view] it would send an

e-mail.

example e-mail:

SUBJECT: Title 8 not found

BODY: 'Title 8' not found

- When an e-mail regarding a cheap price has been sent, the script

should note that it has sent an e-mail, and what price it found. The

next time the script is executed from the cron, it should not send

another e-mail unless the price has changed. This is just to prevent

the script from sending e-mails over and over about the same price.

Example: In this example, the script found a price from Title 1 for $744.

It would note that it has found a price for $744,

and the next time the script is executed, it would not notify me with

another e-mail unless the price is different from $744.

*Important* - I would also like this script to avoid using a MySQL database.

I have PHP5.x on the server to run the script.

One thing I forgot to mention before. In some cases, there will be

two prices, for example at the URL:

Title 3 - $324 + $373 ($697 total)

Title 3 - $194 + $373 ($567 total)

The script should only 'notice' the lowest total price, which is $567

and ignore $697 completely.

Beceriler: Her şey Kabul, MySQL, PHP, Web Scraping

Daha fazlasını görün: web scraping price, subject php, scraping a server, php price project, php is, cases for less, url scraping, mail sending job, mysql scrape website, php server project, website scraping php, php server cron job, server sent php, php web scrape, website scraping mysql, php web project database, project scrape, web scraping script php, scrape website url, project php mail server, example web scraping, mail server php project, web scraping using, mysql web scrape, cheap website script

İşveren Hakkında:
( 19 değerlendirme ) Calgary, Canada

Proje NO: #2223671

Seçilen:

mfrnasl

Can be done :)

1 gün içinde 50$ USD
(32 Değerlendirme)
5.4