What steps will reproduce the problem?
1. Download http://www.amazon.com/Merge-Records-2011-Sampler/dp/B0058VIHEM
(free right now)
2. Some files error out.
3. Why? Because amazon returns a 301. If you copy past the URL from the log and
use `wget` it works fine.
What is the expected output? What do you see instead?
It should download all files.
What version of the product are you using? On what operating system?
0.9.1.tar.gz on Linux 3ish
Please provide any additional information below.
Additionally I made this patch in core.downloader.
91 def _download(self, obj, handle):
92 if not obj.filesize:
93 fs = 0
94 chunk_size = 1000
95 else:
96 fs = int(obj.filesize)
97 chunk_size = fs / 100 #1% of file per chunk
It was hard crashing when obj.filesize == ''
Original issue reported on code.google.com by tim.t...@gmail.com on 15 Dec 2011 at 3:05
Original issue reported on code.google.com by
tim.t...@gmail.com
on 15 Dec 2011 at 3:05Attachments: