projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0228ee9
)
Increment number of downloads when the file has already been fully downloaded
author
Ricardo Garcia
<sarbalap+freshmeat@gmail.com>
Mon, 19 Apr 2010 17:25:47 +0000
(19:25 +0200)
committer
Ricardo Garcia
<sarbalap+freshmeat@gmail.com>
Sun, 31 Oct 2010 10:27:01 +0000
(11:27 +0100)
youtube-dl
patch
|
blob
|
history
diff --git
a/youtube-dl
b/youtube-dl
index 6389c656e1d2711d39ef7f00b3dd4f6edf8499f6..72b09a0c24f20bcf1b7712c6387485da3c10bebc 100755
(executable)
--- a/
youtube-dl
+++ b/
youtube-dl
@@
-536,6
+536,7
@@
class FileDownloader(object):
if content_length is not None and long(content_length) == resume_len:
# Because the file had already been fully downloaded
self.report_file_already_downloaded(filename)
+ self._num_downloads += 1
return True
else:
# Because the server didn't let us