From: Ricardo Garcia Date: Tue, 15 Mar 2011 19:12:10 +0000 (+0100) Subject: Fix upload date regexp (closes #93) X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=3efa45c3a25d455f610439c56c50f2c7cfd0337b;p=youtube-dl Fix upload date regexp (closes #93) --- 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']