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

-o option can't parse `release_date`, `upload_date` and `ext` #17614

Closed
laurencedev opened this issue Sep 20, 2018 · 1 comment
Closed

-o option can't parse `release_date`, `upload_date` and `ext` #17614

laurencedev opened this issue Sep 20, 2018 · 1 comment
Labels

Comments

@laurencedev
Copy link

@laurencedev laurencedev commented Sep 20, 2018

Reproduction:

The following command in a cmd on a Windows 10 Pro machine:

C:\Users\u\Videos>youtube-dl https://www.youtube.com/watch?v=D1ZYhVpdXbQ -o "%(playlist)s/%(playlist_index)s-%(title)s.%(release_date).%(ext)s"

would outputs:

[youtube] D1ZYhVpdXbQ: Downloading webpage
[youtube] D1ZYhVpdXbQ: Downloading video info webpage
[youtube] D1ZYhVpdXbQ: Downloading js player vflkUTZn2
[download] Destination: NA\NA-Singing In The Rain - Singing In The Rain (Gene Kelly) [HD Widescreen].%(ext)s
[download]   0.9% of 46.43MiB at 123.52KiB/s ETA 06:21

No ext value and release_date value parsed in the output's file name.

youtube-dl version: 2018.09.18

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Sep 20, 2018

Invalid output template. Must be %(release_date)s not %(release_date).

@dstftw dstftw closed this Sep 20, 2018
@dstftw dstftw added the invalid label Sep 20, 2018
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.