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

Uploaddate for YoutubeIE #24

Closed
wants to merge 1 commit into from
Closed

Uploaddate for YoutubeIE #24

wants to merge 1 commit into from

Conversation

v01d-cypher
Copy link

Hi,

Here's an implementation of the uploaddate output sequence for YoutubeIE. I have some concerns though.

So far I've seen two date formats for Youtube, eg. "November 17, 2010" and "17 November 2010". I can't seem to figure out which one is used when. For now I've only added those two but I can write some extra code that will systematically try all possible format expressions until a match is found. I don't think that's efficient or necessary at this stage.

I also had a line that normalises the date by removing [/-,] and replacing them with spaces, so that format_expressions would always be of the form "%x %y %z".

Let me know your thoughts.

Regards,
Nevar.

@rg3
Copy link
Collaborator

rg3 commented Nov 19, 2010

Looks good. I'll merge. :)

@FelixChery FelixChery mentioned this pull request Apr 24, 2019
joedborg referenced this pull request in joedborg/youtube-dl Nov 17, 2020
[pull] master from rg3:master
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants