这是一个示例链接,但我试图从Pokemoncenter website中刮取
我想削价出售,但什么也得不到
prices = soup.find_all('span',attrs={'class':'jsx-1022525614 product-price-value'})
for price in prices:
print(price.text)
这是一个空白行
我试过了
for price in prices:
ItemPrice = price.string
print(ItemPrice)
它打印“无”
Tags:
价格值是在打开站点时使用javascript生成的,因此原始html没有该值
相关问题 更多 >
编程相关推荐