Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
File date #4667
File date #4667
Comments
|
This is because the file modified time is determined during the actual download (i.e. it's the time associated with the file, presumably a timestamp of when the video got uploaded to YouTube) and upload_date is the time of publication (i.e. the time when the video was made available, and the time that is shown on the webpage). You can pass in the I do think that should answer what is happening. I am closing the issue now, but you are welcome to suggest a different behavior. What would you prefer? Bear in mind that the situation is quite complicated as it is with the introduction of timezones; also, depending on the extractor, we may just have the date 2015-01-09, and not a precise timestamp. |
|
The option |
By default, the date on a file downloaded by youtube-dl is the date the video was originally uploaded to youtube. As a result, items will always be cleared from the cache because they appear to be years old - even though they were just downloaded. Adding the directive "--no-mtime" will make the date on files the date the file was downloaded. See this issue on youtube-dl: ytdl-org/youtube-dl#4667
Hi,
I am not sure if this is an issue, but when I update one channel and there are new videos, the new file downloaded has a different file date than the date generated in the file name (the upload date).
If the file has been uploaded and downloaded on the same day 9.01 why the file date is 3.01?
Any idea why is this happening?
Thanks.