Skip to content


Subversion checkout URL

You can clone with
Download ZIP


Added uploaded date for Dailymotion #452

merged 1 commit into from

3 participants


I like to have my videos sorted neatly by uploaded date, and I noticed Dailymotion videos have it set to "NA" no matter what. Here's a simple fix that should be able to extract the date and set it for the video so it can be used as a pattern for the filename.

I tested it on multiple videos and it seemed to work correctly. If more people could test it from their side, that would be nice, since I'm not sure the date format is consistent if Dailymotion is set to another language. I would suppose that it is, but you never know!


LGTM, thanks! Merged (will compile at the next round).

@FiloSottile FiloSottile merged commit aa85963 into rg3:master

Hi, It seems like it does not work (any more).
I've just dl videos from dailymotion : updload_date is NA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Oct 3, 2012
  1. @Tailszefox
This page is out of date. Refresh to see the latest.
Showing with 6 additions and 1 deletion.
  1. +6 −1 youtube_dl/
7 youtube_dl/
@@ -683,11 +683,16 @@ def _real_extract(self, url):
video_uploader =
+ video_upload_date = u'NA'
+ mobj ='<div class="[^"]*uploaded_cont[^"]*" title="[^"]*">([0-9]{2})-([0-9]{2})-([0-9]{4})</div>', webpage)
+ if mobj is not None:
+ video_upload_date = + +
return [{
'id': video_id.decode('utf-8'),
'url': video_url.decode('utf-8'),
'uploader': video_uploader.decode('utf-8'),
- 'upload_date': u'NA',
+ 'upload_date': video_upload_date,
'title': video_title,
'ext': video_extension.decode('utf-8'),
'format': u'NA',
Something went wrong with that request. Please try again.