我正在嘗試抓取絲芙蘭網站上的香水頁面。當我嘗試獲取品牌名稱時,我無法訪問“data-at”后面的文本,所以這是我的嘗試,但我不確定為什么它不起作用......for container in perfume_containers:# The brand brand = container.find('span', attrs={'class':'css-ktoumz'})['data-at'] brands.append(brand)
- 0 回答
- 0 關注
- 112 瀏覽
添加回答
舉報
0/150
提交
取消