Есть фрагмент моего кода, который я реализовал, и соответствующий результат:
Код: Выделить всё
div_class =content.find_all("div",class_='sc-8fa2c16a-5 gpNUxi')
for div in div_class:
prices.append(div.text)
subcontent =requests.get(base_link+div.a['href'])
subcontent =BeautifulSoup(subcontent.text,'html.parser')
meta=subcontent.find_all("meta",property='og:description')
print(meta[0])
Код: Выделить всё
Подробнее здесь: https://stackoverflow.com/questions/791 ... ta-content
Мобильная версия