hsuanchi / crawler_shopee_public

蝦皮非同步爬蟲 + 競品賣家分析
https://www.maxlist.xyz/2020/04/14/shopee-crawler/
246 stars 82 forks source link

"https://shopee.tw/api/v2/item/get?" 回傳的內容非最新資訊。 #3

Closed dzjones26 closed 2 years ago

dzjones26 commented 2 years ago

Hi 您好: 感謝您提供這個project幫助我了解蝦皮。我在使用上有一些狀況,也許是操作問題,因此想直接請教,如果有誤還請指正。我以" https://shopee.tw/api/v2/item/get? " 取得之內容似乎與蝦皮公開資訊不同,由devtool查看,蝦皮是由v4 fetch而非v2,想請教作者v2是否已非最新api?謝謝。

截圖 2021-10-11 下午11 22 31

hsuanchi commented 2 years ago

嗨嗨,看起來是 API 版本不同,你也可以更新到 v4 版本使用 :)

dzjones26 commented 2 years ago

了解了,感謝回覆。另外再請教一下「每日銷量」的值是sold還是histrical_sold呢?一直對不太起來。謝謝。

hsuanchi commented 2 years ago

嗨嗨,我之前是抓 v2 的 sold 喲

items_type[i]['sold']