This commit is contained in:
John Schember 2011-03-12 14:39:00 -05:00
parent 6663715f75
commit 77a9964fac

View File

@ -520,7 +520,6 @@ def get_download_filename(url, cookie_file=None):
br.set_cookiejar(cj)
with closing(br.open(url)) as r:
filename = ''
disposition = r.info().get('Content-disposition', '')
for p in disposition.split(';'):
if 'filename' in p: