driscoll42 / ebayMarketAnalyzer

Scrape all eBay sold listings to determine average/median pricing, plot listings over time with trend lines, and extract to excel
195 stars 26 forks source link

Add a domestic flag #61

Closed Maximo1491 closed 3 years ago

Maximo1491 commented 3 years ago

We can get the country from the item already, but this domestic only flag is a quicker way of filtering out any that are not from the home country

Wanted a quick way to filter out only sales that we're made domestically. During my tests speed went from ~4 minutes a query to around 10 seconds doing this.

driscoll42 commented 3 years ago

This looks like a good addition, but can you do me a favor and send me one of the search page links you're using? For the UK it should have forced the item location like in the below screenshot which would have filteed down to UK only. Though if you're exploring other countries that would have to change.

image

Maximo1491 commented 3 years ago

Yeah, so this is one of the searches. here Even though it says UK only, it still has international sales. Maybe its UK people that bought internationally?

driscoll42 commented 3 years ago

Oh right, that happens sometimes when eBay can't return enough sold results, they try to get data from other regions/similar searches in thought you might care about it. Completely forgot about that until now. I'll merge it in, good catch.