This commit is contained in:
Eljakim Herrewijnen 2023-12-27 23:18:06 +01:00
parent cde64f6294
commit b502ce3e58

View File

@ -1,6 +1,20 @@
# Scrape Usse
Funda scraper that automatically calculates the distance to several points in the Netherlands. Project relies heavily on a slightly modified version of the funda-scraper that is available on github.
## Install
Create a virtual env and install the dependencies
```bash
python3 -m venv venv/
source venv/bin/activate
pip3 install -r requirements.txt
```
Also lxml is required for beautifullsoup to run:
```bash
sudo apt-get install python3-lxml
```
## Usage
Update the ``URL`` parameter to use your filtered url from Funda.
```python
@ -8,5 +22,3 @@ URL = "https://www.funda.nl/zoeken/koop?selected_area=%5B%22utrecht,15km%22%5D&p
```
Next you should be able to scrape the data from funda. See the RTD for more docs on how to setup OSRM and use the results.