projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7642c08
)
only add video-id to archive, when successful
author
AndroKev
<AndroKev@users.noreply.github.com>
Wed, 17 Dec 2014 12:05:19 +0000
(13:05 +0100)
committer
AndroKev
<AndroKev@users.noreply.github.com>
Wed, 17 Dec 2014 12:05:19 +0000
(13:05 +0100)
Example:
no space left--> youtube-dl adds the id to archive, but the video isn't fully downloaded
youtube_dl/YoutubeDL.py
patch
|
blob
|
history
diff --git
a/youtube_dl/YoutubeDL.py
b/youtube_dl/YoutubeDL.py
index 8a6bcd51cac4ec5ea8415a08eeeb4ff9cc38ff64..82acfe2828f32a6fb71c110a90b2488e9ad75b48 100755
(executable)
--- a/
youtube_dl/YoutubeDL.py
+++ b/
youtube_dl/YoutubeDL.py
@@
-1145,12
+1145,12
@@
class YoutubeDL(object):
if success:
try:
+ self.record_download_archive(info_dict)
self.post_process(filename, info_dict)
except (PostProcessingError) as err:
self.report_error('postprocessing: %s' % str(err))
return
- self.record_download_archive(info_dict)
def download(self, url_list):
"""Download a given list of URLs."""