Created
August 27, 2014 11:15
-
-
Save darrenparkinson/c5c82dbd973540a61f93 to your computer and use it in GitHub Desktop.
Download Jabber Release Notes listed in CSV file
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 csv # for reading the csv file of files | |
import urllib # for downloading the file | |
with open('Jabber.csv', 'rb') as csvfile: | |
filereader = csv.reader(csvfile, delimiter=',') | |
for row in filereader: | |
original_filename = row[1].split('/')[-1] | |
new_filename = row[0] + ' ' + original_filename | |
print 'Retrieving : ' + new_filename | |
urllib.urlretrieve(row[1], new_filename ) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment