bing_image_downloader
bing_image_downloader copied to clipboard
Error:: URL can't contain control characters. (found at least ' ')
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"))