如何仅从python中刮取类(“shopeecategorylist_uu体”

2024-05-20 09:09:53 发布

您现在位置:Python中文网/ 问答频道 /正文

我在做一份自由职业者的工作,所以请告诉我如何从shopee网站上获得唯一的课程

urlpage=urlopen("https://shopee.co.id/fedorafashion page=0&shopCollection=13201396").read()

bswebpage=BeautifulSoup(urlpage, "lxml")

results=bswebpage.findAll("div",{'class':"shopee-category-list__body"}

Tags: httpsidread网站page课程urlopenco