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.
"no-mtime" option missing in ydl_opts for python? #23574
Comments
|
What you are looking for is youtube-dl/youtube_dl/YoutubeDL.py Lines 302 to 307 in 0c15a56 |
Checklist
Question
I want "Date Modified" to be the time i downloaded the video and not the time it was uploaded.
If i understand correctly then "no-mtime" is supposed to do this?
but i'm using python and ydl_opts so i can't do --no-mtime as far as i know?
I searched through all available options here but couldn't find "no-mtime" or anything similar.
Here's my ydl_opts, i've tried every variation i could think of for "no-mtime" separately and together, but nothing seems to change the timestamp to the time of download instead of upload. Although it does seem to be the time of download while it's downloading but as soon as it's done it changes it to the time of upload.