Skip to content
/ pyfinn Public
forked from nikolaik/pyfinn

šŸ  Fetch real estate listing from finn.no and make available as JSON response

License

Notifications You must be signed in to change notification settings

iterate/pyfinn

Ā 
Ā 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Ā 

History

43 Commits
Ā 
Ā 
Ā 
Ā 
Ā 
Ā 
Ā 
Ā 
Ā 
Ā 
Ā 
Ā 
Ā 
Ā 
Ā 
Ā 
Ā 
Ā 
Ā 
Ā 
Ā 
Ā 
Ā 
Ā 
Ā 
Ā 
Ā 
Ā 
Ā 
Ā 

Repository files navigation

Disclamer

This is a modification of this project. I added support for extracting the geolocation of appartments. Also added support for running on iterapp. Still not supported: Redis store in iterapp.


šŸ  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

Full on docker (recommended)

docker-compose up
open 'http://localhost:5000/'

Only cache in docker

pipenv install --three
docker run -d -p 6379:6379 redis
pipenv run api.py
open 'http://localhost:5000/'

Configuration

  • USE_CACHE Whether or not to use redis cache. At the time of writing this in not used in production on iterapp
  • REDIS_URL URL to 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 (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.

About

šŸ  Fetch real estate listing from finn.no and make available as JSON response

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 92.8%
  • Dockerfile 7.2%