From: Jaime Marquínez Ferrándiz Date: Fri, 6 Mar 2015 17:16:56 +0000 (+0100) Subject: [vimeo] Fix upload date extraction X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=3c6f245083db85d7ba9ae5444561339dc1b02671;p=youtube-dl [vimeo] Fix upload date extraction --- diff --git a/youtube_dl/extractor/vimeo.py b/youtube_dl/extractor/vimeo.py index 8f540f578..3771769e1 100644 --- a/youtube_dl/extractor/vimeo.py +++ b/youtube_dl/extractor/vimeo.py @@ -20,6 +20,7 @@ from ..utils import ( RegexNotFoundError, smuggle_url, std_headers, + unified_strdate, unsmuggle_url, urlencode_postdata, ) @@ -140,6 +141,7 @@ class VimeoIE(VimeoBaseInfoExtractor): 'description': 'md5:8678b246399b070816b12313e8b4eb5c', 'uploader_id': 'atencio', 'uploader': 'Peter Atencio', + 'upload_date': '20130927', 'duration': 187, }, }, @@ -323,9 +325,9 @@ class VimeoIE(VimeoBaseInfoExtractor): # Extract upload date video_upload_date = None - mobj = re.search(r'