Python Forum

Full Version: Web scraping doubt
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I am trying to scrape a webpage using scrapy, i need to extract an email(text) from an image, the link is "", i tried using pytesseract but it need the path for the image file from your computer but this is online. some one help me out here please! Idea
You may need to download the image first before applying pytesseract on it.
I cant download every image there are nearly 1000 of those, is there any possible alternative pls,
link the above is the link, i just gave one sample link above!!!

Also, link this is another site to scrape, I inspected it and got some jpg files in the network tab of inspector of the chrome, if there is a possible solution for the above(first link above), this can also be done, or if there is any other possible way to do,pls tell me. I mean not just python, any possible solution using javascript even.
Whole purpose of providing email id in image to avoid getting parsed by bots/scrapers.

If still stuck on that,
You have to download/store image from each profile. Apply pyteseract or OCR solution to extract text from image. These OCR tools are not very accurate, specially with low quality small images. You need to play and choose one of those OCR tools to work towards your goal.