From: Jaime Marquínez Ferrándiz Date: Sat, 14 Sep 2013 09:10:01 +0000 (+0200) Subject: [googleplus] Fix upload date extraction X-Git-Url: http://git.bitcoin.ninja/?a=commitdiff_plain;h=fad84d50fe124df1c620c9bc95bdc4c9e5053e6a;p=youtube-dl [googleplus] Fix upload date extraction --- diff --git a/youtube_dl/extractor/googleplus.py b/youtube_dl/extractor/googleplus.py index f1cd88983..8895ad289 100644 --- a/youtube_dl/extractor/googleplus.py +++ b/youtube_dl/extractor/googleplus.py @@ -40,7 +40,8 @@ class GooglePlusIE(InfoExtractor): self.report_extraction(video_id) # Extract update date - upload_date = self._html_search_regex('title="Timestamp">(.*?)', + upload_date = self._html_search_regex( + ['title="Timestamp">(.*?)', r'(.+?)'], webpage, u'upload date', fatal=False) if upload_date: # Convert timestring to a format suitable for filename