I was wondering if there a way for me to search for the first few characters of an id. Eg using the find(id=''), if an item id was 'priceblock_ourprice' could I search just for items with the id starting with 'priceblock'?
I have searched for ways to do this but my searches have been fruitful. and nothing i have tried has worked. Maybe something like this would work:
soup.find(id[0:9]="priceblock")
of course this didn't work but I was hoping someone has a fix, thanks in advance <3