cpatrickalves / scraping-ebay

Scraping Ebay's products using Scrapy Web Crawling Framework
MIT License
117 stars 40 forks source link

Not getting good 'stars' and 'ratings' values returned #7

Open xloem opened 3 years ago

xloem commented 3 years ago

Hi,

It seems when I run this excellent tool, I get values of "0", "Wat", and "Pre" for "Stars", and "Ratings" is always 0.

(additionally it would be nice if seller information were returned: number of items sold or % positive reviews)

cpatrickalves commented 3 years ago

Hi @xloem, Sorry for the huge delay.

Can you send me a URL of a problem where this problem occurs? I would like to reproduce the issue.

xloem commented 3 years ago

Is this what you are asking for? Thank you for this great tool. I didn't know it worked for many urls, which I just discovered.

$ scrapy crawl ebay -a search='143725069438' -t jl -o - 2>/dev/null
{"Name": "10FT USB-A to Micro-B 5 Pin Data Sync Fast Charging Cable Data Sync Charger Cord", "Status": "Brand New", "Price": "$3.99", "Stars": "Wat", "Ratings": 0, "URL": "https://www.ebay.com/itm/10FT-USB-A-to-Micro-B-5-Pin-Data-Sync-Fast-Charging-Cable-Data-Sync-Charger-Cord/143725069438?hash=item2176ae847e:g:FUIAAOSw21Nfkc2Q", "UPC": null}