diff --git a/bing_image_downloader/bing.py b/bing_image_downloader/bing.py index 39f5633..230b1d0 100644 --- a/bing_image_downloader/bing.py +++ b/bing_image_downloader/bing.py @@ -138,6 +138,7 @@ def run(self): print("[%] No more images are available") break links = re.findall('murl":"(.*?)"', html) + links = [link.replace(" ", "%20") for link in links] if self.verbose: print("[%] Indexed {} Images on Page {}.".format(len(links), self.page_counter + 1)) print("\n===============================================\n")