Created
March 9, 2017 02:19
-
-
Save katrina376/cc611cbe442776fc682202ec028120de to your computer and use it in GitHub Desktop.
Handy Toolkit
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import urllib.request | |
file_list = [ | |
{ 'url': '<url>', 'name': 'name', 'type': 'type'}, | |
# ... | |
] | |
for f in file_list: | |
urllib.request.urlretrieve(f['url'], f['name'] + f['type']) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment