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

"Erroneous output template" when using the upload date with The Escapist #1931

Closed
Tailszefox opened this issue Dec 9, 2013 · 1 comment
Closed
Labels
bug

Comments

@Tailszefox
Copy link
Contributor

@Tailszefox Tailszefox commented Dec 9, 2013

youtube-dl -o "%(upload_date)s - %(title)s.%(ext)s" "http://www.escapistmagazine.com/videos/view/zero-punctuation/5394-Darkness-2"
[Escapist] 5394-Darkness-2: Extracting information
[Escapist] 5394-Darkness-2: Downloading webpage
[Escapist] 5394-Darkness-2: Downloading normal configuration
[Escapist] 5394-Darkness-2: Downloading hq configuration
ERROR: Erroneous output template

Usually, the upload date is replaced by "NA" when the extractor can't find it, but this seems to not be the case with The Escapist: instead, it's simply not defined and thus creates an error.

The problem can be solved by making the extractor for The Escapist return the upload_date key alongside everything else, even if it's set to None, but this seems like it could be a more broad problem. Shouldn't all values be set to NA if the extractor doesn't provide them, even if they are not defined?

@phihag
Copy link
Contributor

@phihag phihag commented Dec 10, 2013

Thanks for the report. This issue has been fixed in youtube-dl 2013.12.10. Type youtube-dl -U to update.

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.

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