alirezamika / autoscraper

A Smart, Automatic, Fast and Lightweight Web Scraper for Python
MIT License
6.16k stars 648 forks source link

Data is not correct #92

Open furkannkilicc opened 1 year ago

furkannkilicc commented 1 year ago

Hi again, in my code data is not correct . mean for ex. iphone 11 price must be 10000 but its returned 150 which is airpod price. How can i handle it ?

my code is : and also ı have wrote it on excell.

`scraper = AutoScraper() scraper.build(URL, wanted_dict=wanteds) result = scraper.get_result_similar(URL, group_by_alias=True)

Verilerdeki yinelenenleri kaldır

unique_data = set(zip(result['Ürün Adı'], result['MPQ Fiyat'],result['Manufacturer']))

wb = Workbook() ws = wb.active

headers = ['Ürün Adı', 'MPQ Fiyat','Manufacturer'] ws.append(headers)

for data in unique_data: ws.append(data)

dosya_yolu = './colzip22.xlsx' wb.save(dosya_yolu) `