Hacker News new | past | comments | ask | show | jobs | submit login

Thanks for the feedback! Agreed that the order and units of memory needs to be standardized -- definitely will do!

Apologies about the item being sold, the list is only updated every 4 hours at the moment. With additional API access (waiting to hear back!), I would be able to get a tighter loop on updating the list so everything is currently available.




Ok, regarding the second point, would it be possible to fetch the ebay html from the browser, and parse it? Then you wouldn't need to use the API to check availability, and the IP address would be different every time.


I don't quite follow how the IP address would be different. Could you elaborate on that?

This is technically possible, but for ~3,000 products, checking on an hourly basis would make ~72,000 requests per day -- which definitely would get flagged, I think.


I mean you do the request from within the user's browser (their IP address).

So for example, they filter out 5 products, and from the javascript in the browser you perform the request for those 5 products, and then show the user which ones are available. It could also send the data back to your server. Of course you still have to be careful with the number of requests, but it would allow you to get more data without getting flagged.


CORS headers from eBay will prevent that unfortunately


Ah - I see what you’re saying.

I think I’m going to keep it relatively simple for now, just to see how it goes. If it becomes a bigger issue, I’ll try out your method!




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: