# HG changeset patch # User William Roberts # Date 1261490114 0 # Node ID e6bf005a5f583573a0c7dbddbdee1b290a1f95e2 # Parent c107e11c37e895ecbbe4393699a8f15ac4209cb6 Added User Agent info to another urllib2.Request call which was missed in the previous commit diff -r c107e11c37e8 -r e6bf005a5f58 downloadkit/downloadkit.py --- a/downloadkit/downloadkit.py Tue Dec 22 12:34:01 2009 +0000 +++ b/downloadkit/downloadkit.py Tue Dec 22 13:55:14 2009 +0000 @@ -157,7 +157,7 @@ if first_chunk and chunk.find('
') != -1: # our urllib2 cookies have gone awol - login again login(False) - req = urllib2.Request(downloadurl) + req = urllib2.Request(downloadurl, None, headers) response = urllib2.urlopen(req) chunk = response.read(CHUNK) fp.write(chunk)