/pyfinn

🏠 Fetch real estate listing from finn.no and make available as JSON response

Primary LanguageHTMLMIT LicenseMIT

🏠 Fetch real estate listing from finn.no and make available as JSON response.

Requests to finn.no uses a randomized user agent. The response data is cached (with redis).

Try it out

Hit the button below to create your own. You need a free Heroku account.

Deploy

Example usage

Installation

poetry install
docker run -d -p 6379:6379 redis
poetry run bin/run
xdg-open http://localhost:5000/

Configuration

  • REDIS_URL URL to Redis instance. Default: redis://localhost:6379/0
  • CACHE_DURATION_SECONDS How long we cache ad data. Default: 23 * 60 * 60 seconds.

Terms of use

From finn.no footer (in Norwegian):

Innholdet er beskyttet etter åndsverksloven. Bruk av automatiserte tjenester (roboter, spidere, indeksering m.m.) samt andre fremgangsmåter for systematisk eller regelmessig bruk er ikke tillatt uten eksplisitt samtykke fra FINN.no.