Skip to content

Commit c135d31

Browse files
committed
minor change to downloading images from websites tutorial
1 parent dcccd00 commit c135d31

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Diff for: web-scraping/download-images/download_images_js.py

+2
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@ def get_all_images(url):
4444
# finally, if the url is valid
4545
if is_valid(img_url):
4646
urls.append(img_url)
47+
# close the session to end chromium.exe process
48+
session.close()
4749
return urls
4850

4951

0 commit comments

Comments
 (0)