我已经尝试了我的代码的各种变体,但它一直返回一个空列表。
from autoscraper import AutoScraper
url = "https://grofers.com/prn/g-fresh-baby-potato/prid/261115"
wanted_list = ["₹32.00","G Fresh Onion"]
scraper=AutoScraper()
result=scraper.build(url,wanted_list)
result