1. Description problem:
I made a small crawler, want to crawl some pictures of a website, now climb down, the image path can be printed out.
however, I need to download these pictures to a local images
folder, write the code is no problem, I have tried, if the site crawled to the image path is normal, that is, the form of http://.img
, then there is no problem to save.
however, the problem is that the image addresses on many websites are base64
. The code I write will always report errors, and I don"t know how to solve it.
2. Code map
3.