Deno program to scrap the housing site for new houses (after getting the initial state).
You can generate an executable by running the following
deno compile --allow-net --allow-run --allow-read --allow-env main.ts
Two env vars are needed SEND_EMAIL
and PWD
to send emails. If no .env
is provided you can set those before calling the script
# Run script with email & notification
deno run --allow-net --allow-run --allow-read --allow-env main.ts --notify --email <email>
# Run script with notification ony
SEND_EMAIL=<email>; PWD=<pwd> ; deno run --allow-net --allow-run --allow-env --allow-read main.ts --notify
# Run script with no notifications at all
deno run --allow-net --allow-run --allow-read --allow-env main.ts
# Run compiled script with notification & 2 emails
./scrapper_house --notify --email <email_1> --email <email_2>