So what can you do once you have been banned on a site or your IP has been blocked?
Well, there's a couple of things I would try and do first.
The first thing I would probably try is to use another ID in the cloud instead to write my code.
So something like Amazon Cloud9.
You can go ahead and get started with that for free with a free trial for 12 months or something like
that.
And it looks like this.
It's basically like a full IDE that you know, from Visual Studio code except for it is in the cloud
in the browser.
So it's going to look the same no matter what computer you're on.
It's actually pretty cool concept.
And I would try that.
Then you would have a new IP.
If you're trying to scrape the site, there's also a service such as Glitch.com where you can also write
in code in NodeJS and then you can just execute it.
And of course, you're also going to have a new IP this way because the code is executed in the cloud.
The last way you can try is to basically use a proxy.
If you get banned on a site so you can have you can look for free proxies on the Internet.
Most of them are really slow.
The free ones, you can also try and buy a proxy list.
Some of them are also really slow, especially if you don't pay so much.
And I'm also going to show you how we use proxies inside of request.
Now for preventive ways, I mean ways to prevent getting banned in the first place.
I'm also going to show you that I'm going to show you how we can build a scraper and prevent getting
banned in the first place.
But first, let me show you how we use a proxy inside of NodeJS request.
Promise.