mirror of
https://gitlab.dit.htwk-leipzig.de/fsr-im/tools/flatscraper.git
synced 2025-07-16 11:38:49 +02:00
feat: add VLW property scraping functionality to main process
This commit is contained in:
5
main.py
5
main.py
@ -6,6 +6,7 @@ import src.lwb.scraper as lwb_scraper
|
||||
import src.discord.webhook as localwebhook
|
||||
import src.lipsia.lipsia as lipsia_scraper
|
||||
import src.bgl.bgl as bgl_scraper
|
||||
import src.vlw.scraper as vlw_scraper
|
||||
|
||||
# URL of the website to scrape
|
||||
TARGET_URL = "https://www.wogetra.de/immobilien-vermarktungsart/miete/"
|
||||
@ -44,6 +45,10 @@ def main():
|
||||
print("Scraped " + str(len(properties_bgl)) + " properties from BGL")
|
||||
properties += properties_bgl
|
||||
|
||||
properties_vlw = vlw_scraper.scrape_vlw()
|
||||
print("Scraped " + str(len(properties_vlw)) + " properties from VLW")
|
||||
properties += properties_vlw
|
||||
|
||||
|
||||
for prop in properties:
|
||||
if prop["id"] not in known_properties:
|
||||
|
Reference in New Issue
Block a user