Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitc135d31

Browse files
committed
minor change to downloading images from websites tutorial
1 parentdcccd00 commitc135d31

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

‎web-scraping/download-images/download_images_js.py

Lines changed: 2 additions & 0 deletions
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
ifis_valid(img_url):
4646
urls.append(img_url)
47+
# close the session to end chromium.exe process
48+
session.close()
4749
returnurls
4850

4951

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp