From 3efa45c3a25d455f610439c56c50f2c7cfd0337b Mon Sep 17 00:00:00 2001 From: Ricardo Garcia Date: Tue, 15 Mar 2011 20:12:10 +0100 Subject: [PATCH] Fix upload date regexp (closes #93) --- youtube-dl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/youtube-dl b/youtube-dl index b2cd5e87f..e3bde779c 100755 --- a/youtube-dl +++ b/youtube-dl @@ -1056,7 +1056,7 @@ class YoutubeIE(InfoExtractor): # upload date upload_date = u'NA' - mobj = re.search(r'id="eow-date".*?>(.*?)', video_webpage, re.DOTALL) + mobj = re.search(r'id="eow-date.*?>(.*?)', video_webpage, re.DOTALL) if mobj is not None: upload_date = ' '.join(re.sub(r'[/,-]', r' ', mobj.group(1)).split()) format_expressions = ['%d %B %Y', '%B %d %Y', '%b %d %Y']