Rental scraping on yad2 site.
python yad2/main.py --config "path to your config"
The config should be a json file which contains the pages you want to scrape and email which should get notifictions
{
"scrape_urls": [
"https://www.yad2.co.il/realestate/1",
"https://www.yad2.co.il/realestate/2",
"https://www.yad2.co.il/realestate/3"
],
"recipients": ["mymail@gmail.com"]
}
We're currently using gmail, but it should be blocked around 30/05/2022 - hence we need to find workaround.
Anyway, the username and password should be located under:
~/.config/gmail.pass
Simply create with conda:
conda env create --file environment.yml