Find partial class names in spans with Beautiful Soup
问题 This page https://www.kijiji.ca/v-1-bedroom-apartments-condos/ville-de-montreal/1-chambre-chauff-eau-chaude-incl-vsl-514-856-0038/1334431659 contains this span class: <span class="currentPrice-3131760660"><span content="800.00">800,00 $</span> I'm trying to automatically extract the price (800$ in this case). Over time, however, the number after "currentPrice-" changes, and my Python script ceases to work. I am using this Beautiful soup function: soup.find_all('span', {'class' : 'currentPrice