jef / streetmerchant

πŸ€– The world's easiest, most powerful stock checker
https://jef.buzz/streetmerchant
MIT License
4.96k stars 1.31k forks source link

Add support for a proxy or pool of IPs #321

Closed aharris02 closed 3 years ago

aharris02 commented 3 years ago

Description

Left image is a server on AWS. Right is powershell on my local computer. As far as I can tell, the AWS server's requests are blocked because the AWS region IP blocks are easily discoverable. image

Possible solution

I'm sure there are other solutions, but adding support for a rotating block of proxied IP addresses would help reduce blocks. This can be done in the app directly by changing the IP address each time the browser session is started and stopped. If we want to change the IP address for each query, that would need to be implemented as a separate proxy server.

https://scrapoxy.io/ https://zenscrape.com/how-to-build-a-simple-proxy-rotator-in-node-js/

jef commented 3 years ago

Related to https://github.com/jef/nvidia-snatcher/issues/113#issuecomment-695816283

matjam commented 3 years ago

clearly the next step is a worker mode where you can have workers running on multiple machines and they report back to the central node that then posts the actual status. So if you have 30 people all running the checker, you have good coverage, and if one person gets blocked, the others will still be ok.

fabienvauchelles commented 5 months ago

Hi, if you are interested, Scrapoxy 4 is out!

Scrapoxy is a open source proxy aggregator, allowing you to manage all proxies in one place 🎯, rather than spreading it across multiple scrapers πŸ•ΈοΈ.

Smartly designed for efficient traffic routing πŸ”€, Scrapoxy minimizes #bans and boosts success rates πŸš€.

The tech stack is built on the latest NodeJS, Typescript, utilizing the NestJS and Angular frameworks.

Here are the key features:

Checkout https://scrapoxy.io/ !

Mr-Tech-13 commented 5 months ago

I could play around with that today. Thanks for the update