I am trying to scrape the reduced price of a product from a website.
The HTML looks like this when inspecting the website:
My code looks like this:
browser = webdriver.Chrome(executable_path='/chromedriver.exe')
browser.get('https://www.mydays.de/magicbox/kurzurlaub')
soup = BeautifulSoup(browser.page_source, 'html.parser')
Price = soup.find('div',{"class":"c-mbvoucher__pricebox"})
But my Result looks like this:
<div class="c-mbvoucher__pricebox">
<span class="c-mbvoucher__price">159 €</span>
<span class="c-mbvoucher__person">
für 2 Personen </span>
</div>
Why is some information missing in my result?
I also tried find_all, but the above is the only one matching.