Skip to content
Advertisement

How can i store following image using nodejs

I’m scraping the data from the website in order to scrape further data i need to solve captcha that i’m thinking of giving user to solve but site uses language PHP after some digging site is using PHP-GD that i need to scrap as image but URL giving me some values that i don’t know how to procede

JavaScript

in img tag i followed the URL than i don’t understand the data how to construct an image from that data

here is the data i revive from the URL

HEADER:

JavaScript

BODY:

JavaScript

here tried but not the expected result you can see here link 1

Advertisement

Answer

After searching some library i find the following solution with JIMP library

JavaScript
User contributions licensed under: CC BY-SA
2 People found this is helpful
Advertisement