Answer the question
In order to leave comments, you need to log in
Bulletin board parsing. How to set up automatic sending of new ads by email?
I use simple_html_dom.php
The code is simple and normal, example:
include('simple_html_dom.php');
$html = file_get_html('site.ru') ;
foreach($html->find('td[class=class1]') as $a) {
echo $a->innertext . '<br>';
}
$html->clear();
unset($html);
}
Answer the question
In order to leave comments, you need to log in
Good morning.
You can run the script automatically using cron.
But it is not entirely clear by what parameter, how and what do you want to check?
If you are parsing ads, then save them in the database, during new parsing, check if there is such an ad in the database, if not, then write down and send an email.
You can add a new declaration using cUrl.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question