All right.
So now we got all of the poster URLs, all the pages for the posters that we want to get the image from.
And now I just want to show you why we are going to be using Nightmare JS and not just the regular request
and cheerio that we used before.
So if we go and go inside this page and I have a little extension to disable JavaScript, if I disable
JavaScript and load this page, the page is just going to be all black.
And if we, if you will try and get the page using request, you're going to get some kind of Http error
code because IMDb is using JavaScript to render this page.
Now, you could also maybe go and take a deep dive into the JavaScript code.
I don't know if you could do that.
So find out how they're getting this image in, how they're getting the image.
But for most cases, in this case, I think it's easier to just use Nightmare JS to render the site
and get the image this way.
So we are going to use Nightmare JS to render the site.
We're not going to use Nightmare JS to download it, but we will use it to render the site and get the
URL for the image on this page.
And then after we are going to use request to download the image itself.
All right?
See you in the next section.