Devam Ediyor

507782 Website PHP Scraping Project

I'm looking to scrape some simple HTML from a website. It's just 4 pieces of information, and the HTML is very easy, it looks like this:

<span class="price">$375</span>

<span class="description">description</span>

<a class="title" href="link" title="Title">

So we have the price, description, title, and link to be scraped.

There will be a file, called [url removed, login to view] that looks like this:

"Montreal Alerts";"[url removed, login to view]"

"Ottawa Alerts";"[url removed, login to view]"

"Toronto Alerts";"[url removed, login to view]"

And I can add as many lines to this text file that I want.

There is a second file called [url removed, login to view] and when it is executed from the CRON, it starts on line 1 of [url removed, login to view] and searches

[url removed, login to view] for the information to be scraped.

In a file called [url removed, login to view], it stores the title and description of the entries found at [url removed, login to view]

And it also sends me an e-mail with the entries that it found:

Subject: Montreal Alerts

Body:

Price - Title - Description - Link

Price - Title - Description - Link

Price - Title - Description - Link

The next time that [url removed, login to view] is executed, it starts on

line 2 of [url removed, login to view] and searches:

[url removed, login to view]

In [url removed, login to view] it stores the title and description of the entries again, but only if they are unique, and not already in [url removed, login to view]

Again, if there are any unique entries, it would send me an e-mail about those entries. Entries that are already in [url removed, login to view] are not entered again and I do not receive an e-mail notification about those entries.

I would like to accomplish this without the use of a database.

Beceriler: Her şey Kabul, PHP, Web Scraping

Daha fazlasını görün: web searches database, web scraping price, subject php, scraping com, php price project, php is, project on line, We Scraping , scrape information from website, Ottawa, text file scraping, php class found, php html project, website scraping php, cron website, php receive http, php web scrape, php web project database, simple web scraping, project send receive file, php html scrape price, project scrape, easy web scrape, php simple web scraping, web scraping information

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

Proje NO: #2253709