bing_image_downloader icon indicating copy to clipboard operation
bing_image_downloader copied to clipboard

Error:: URL can't contain control characters. (found at least ' ')

Open Lightfoe1 opened this issue 2 years ago • 0 comments

When using the download() function, I came accross multiple control character errors. This is caused by a url containing a blank space.

I temporarily solved it by changing these two lines to replace " " with "%20" inside bing.py: self.seen.add(link.replace(" ", "%20")) self.download_image(link.replace(" ", "%20"))

Lightfoe1 avatar Jun 06 '22 09:06 Lightfoe1