I used the below code to scrape the rent price from the web. the majority of information was correct, except the rent price. I am just puzzled.
url = "https://www.homegate.ch/rent/3003465820"
html_data = requests.get(url).content
soup = BeautifulSoup(html_data,'html.parser')
hh = soup.find_all(attrs={"data-v-8dfba50a":"","data-test":"costs"})
The price on the web is much lower than scraped from BS. But always get the same wrong price. The price displayed on the web is CHF 6,650 price scraped from soup is 8,910
I have tried scraping different blocks using
hh = soup.find_all('script',attrs={"type":"application/ld+json"})
print(hh[0])
But always get the same wrong price 8910 instead of CHF 6,650