kill-the-scout

command module
v0.0.0-...-8aaa864 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 5, 2020 License: GPL-3.0 Imports: 9 Imported by: 0

README

kill-the-scout

Tired if pressing F5 all day on the immobilienscout24 search-page? Use this simple script to to check immobilienscout24 and get notifications for new exposes/flats via email.

Note: KillTheScout will only scrape the last 20 entries from the search-page.

Configuration

Create an .env-file in the root-folder and adjust the settings accordingly:

SMTP_SERVER=smtp.gmail.com:587
SMTP_HOST=smtp.gmail.com
SMTP_USER=login@gmail.com
SMTP_PASS=password

IMMO_SEARCH_URL=https://www.immobilienscout24.de/Suche/de/baden-wuerttemberg/stuttgart/wohnung-mieten?price=-4048.0&geocodes=1276001039002&sorting=2&enteredFrom=result_list
IMMO_INTERVAL_SECONDS=180s
MAIL_TO=mail-me-exposes@mail.com

Install & Run

Install golang, clone this repo and execute the following commands:

# install go dependencies
> go install

# install selenium dependencies (inside _vendor)
_vendor > go run init.go

# run main application
> go run main.go

Todo

  1. Find solution when immo24 robot-detection was triggered (because of an to aggressive scrape intervall).
  2. Load detail pages with a random delay to avoid robot-detection.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
Binary init downloads the necessary files to perform an integration test between this WebDriver client and multiple versions of Selenium and browsers.
Binary init downloads the necessary files to perform an integration test between this WebDriver client and multiple versions of Selenium and browsers.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL