Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can not find youtube-dl downloaded videos #9434

Closed
rofl0r opened this issue May 8, 2016 · 4 comments
Closed

can not find youtube-dl downloaded videos #9434

rofl0r opened this issue May 8, 2016 · 4 comments

Comments

@rofl0r
Copy link

@rofl0r rofl0r commented May 8, 2016

.... because youtube-dl is the only program i know that stores files not with the actual timestamp, but prefers to fetch the timestamp of when a video was uploaded to youtube and then manipulates the timestamp of the file in fs to match that of youtube(!?).

so instead of doing

~/video-dump $ ls -lat | head
... displaying the 10 most recent videos downloaded

i have to maintain a list and save all the titles of the videos i downloaded recently so i can find them in the FS when i wanna watch them.

this counterintuitive behaviour should imo be disabled.
if there are some people that want the file creation date of their file on their hd to match the youtube publishing date, those can use --magic-switch-to-enable-that, but it should definitively not be on by default.

@dstftw
Copy link
Collaborator

@dstftw dstftw commented May 8, 2016

youtube-dl does not use upload date as timestamp but Last-Modified HTTP header. wget does exactly the same way. This is the expected behavior and can be disabled with --no-mtime.

@dstftw dstftw closed this May 8, 2016
@rofl0r
Copy link
Author

@rofl0r rofl0r commented May 8, 2016

ok: since i didn't find the option when searching for "date", may i suggest you add that term to the --help entry for --no-mtime ?

@dstftw
Copy link
Collaborator

@dstftw dstftw commented May 8, 2016

It's already there:

    --no-mtime                       Do not use the Last-modified header to set
                                     the file modification time
@rofl0r
Copy link
Author

@rofl0r rofl0r commented May 8, 2016

where ? i don't see "date" mentioned.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.