Instagram web api net::ERR_BLOCKED_BY_RESPONSE

I created a script that extracts photos in the gallery of a certain profile…
Using instagram-web-api

Unfortunately now it no longer works, instagram does not return the image of the media
This is the mistake:

Instagram has changed it’s CORS policy recently? How I can fix?