Set downloaded file's time stamp from last-modified header
authorGergely Imreh <imrehg@gmail.com>
Thu, 27 Jan 2011 05:02:51 +0000 (13:02 +0800)
committerGergely Imreh <imrehg@gmail.com>
Fri, 28 Jan 2011 01:46:06 +0000 (09:46 +0800)
commit09bd408c284771224db5665d937b62d6c36759fb
tree1b454272364d6409f91b37300a17b09ccfa28658
parent9f7963468bf7f19e0cd2e11ed3ed2829f5c68b78
Set downloaded file's time stamp from last-modified header

This file stamp setting is very relaxed. If there's any problem
along the way (no last-modified header, bad time string format,
no time set privileges,...) or if nothing is downloaded (e.g. using
resumed download but the file was already complete) then nothing
is done.
youtube-dl