WEBVTT

00:00.170 --> 00:05.840
So what can you do once you have been banned on a site or your IP has been blocked?

00:06.020 --> 00:09.380
Well, there's a couple of things I would try and do first.

00:09.410 --> 00:17.270
The first thing I would probably try is to use another ID in the cloud instead to write my code.

00:17.270 --> 00:20.330
So something like Amazon Cloud9.

00:20.660 --> 00:26.810
You can go ahead and get started with that for free with a free trial for 12 months or something like

00:26.810 --> 00:27.380
that.

00:27.830 --> 00:30.590
And it looks like this.

00:30.620 --> 00:38.180
It's basically like a full IDE that you know, from Visual Studio code except for it is in the cloud

00:38.180 --> 00:39.080
in the browser.

00:39.080 --> 00:43.220
So it's going to look the same no matter what computer you're on.

00:43.220 --> 00:45.350
It's actually pretty cool concept.

00:46.110 --> 00:48.090
And I would try that.

00:48.090 --> 00:49.890
Then you would have a new IP.

00:50.010 --> 00:58.260
If you're trying to scrape the site, there's also a service such as Glitch.com where you can also write

00:58.260 --> 01:02.700
in code in NodeJS and then you can just execute it.

01:03.030 --> 01:09.480
And of course, you're also going to have a new IP this way because the code is executed in the cloud.

01:09.510 --> 01:14.070
The last way you can try is to basically use a proxy.

01:14.100 --> 01:20.910
If you get banned on a site so you can have you can look for free proxies on the Internet.

01:21.300 --> 01:23.340
Most of them are really slow.

01:23.370 --> 01:27.810
The free ones, you can also try and buy a proxy list.

01:28.560 --> 01:32.580
Some of them are also really slow, especially if you don't pay so much.

01:32.730 --> 01:37.680
And I'm also going to show you how we use proxies inside of request.

01:39.140 --> 01:44.270
Now for preventive ways, I mean ways to prevent getting banned in the first place.

01:44.280 --> 01:49.940
I'm also going to show you that I'm going to show you how we can build a scraper and prevent getting

01:49.940 --> 01:51.830
banned in the first place.

01:52.190 --> 01:58.250
But first, let me show you how we use a proxy inside of NodeJS request.

01:58.250 --> 01:59.060
Promise.
