X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;ds=sidebyside;f=youtube_dl%2Fextractor%2Fgoogleplus.py;h=ab12d7e9381317b4dfddb679eced39db2f752ed4;hb=81d7f1928cf548160a101f23c5571cce11403f8d;hp=f1cd889834dc712d8b3c38478f85e30f2f92e44f;hpb=c257baff858488728a23072674929288784add48;p=youtube-dl diff --git a/youtube_dl/extractor/googleplus.py b/youtube_dl/extractor/googleplus.py index f1cd88983..ab12d7e93 100644 --- a/youtube_dl/extractor/googleplus.py +++ b/youtube_dl/extractor/googleplus.py @@ -40,7 +40,9 @@ 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( + r'''(?x) + ([0-9]{4}-[0-9]{2}-[0-9]{2})''', webpage, u'upload date', fatal=False) if upload_date: # Convert timestring to a format suitable for filename