Go to file
ben 86867fcbf6 fixed a bug 2019-07-25 20:13:46 +02:00
.gitignore heres some data 2019-07-15 23:51:08 +02:00
README.md useful stuff 2019-07-16 00:19:41 +02:00
breidholt.csv more csv and stuff 2019-07-16 11:16:44 +02:00
breidholt.json fixed a bug 2019-07-25 20:13:46 +02:00
breidholt.json.complete some fucking data 2019-07-16 00:03:31 +02:00
fasteign.py fixed a bug 2019-07-25 20:13:46 +02:00
fix_dates.py fix the fucking dates in the json, some of them manually 2019-07-15 23:39:25 +02:00
get_stats.py more csv and stuff 2019-07-16 11:16:44 +02:00
requirements.txt initial commit 2017-12-25 13:05:51 +01:00

README.md

fasteign

Quick script to scrape Fasteignarvefur Mbl.

Usage

Go www.mbl.is/fasteignir and create a search you are interested in. Copy the url into the parameter in fasteign.py.

Code quality

Not great, but it works. Actually, it's terrible. Leave this alone.

If in doubt..

Compare json files with this

jq --argfile a breidholt.json --argfile b ../breidholt.json.filled.out.15.07.2019 -n '($a | (.. | arrays) |= sort) as $a | ($b | (.. | arrays) |= sort) as $b | $a == $b'