1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2025-11-08 02:25:13 +00:00

No longer enable --mtime by default (#12781)

Closes #12780
Authored by: seproDev
This commit is contained in:
sepro
2025-07-01 13:23:53 +02:00
committed by GitHub
parent 30fa54280b
commit f3008bc5f8
6 changed files with 20 additions and 12 deletions

View File

@@ -348,7 +348,7 @@ class HttpFD(FileDownloader):
self.try_rename(ctx.tmpfilename, ctx.filename)
# Update file modification time
if self.params.get('updatetime', True):
if self.params.get('updatetime'):
info_dict['filetime'] = self.try_utime(ctx.filename, ctx.data.headers.get('last-modified', None))
self._hook_progress({