projects
/
youtube-dl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge remote-tracking branch 'Rudloff/websurg'
[youtube-dl]
/
youtube_dl
/
extractor
/
googleplus.py
diff --git
a/youtube_dl/extractor/googleplus.py
b/youtube_dl/extractor/googleplus.py
index f1cd889834dc712d8b3c38478f85e30f2f92e44f..ab12d7e9381317b4dfddb679eced39db2f752ed4 100644
(file)
--- 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
self.report_extraction(video_id)
# Extract update date
- upload_date = self._html_search_regex('title="Timestamp">(.*?)</a>',
+ upload_date = self._html_search_regex(
+ r'''(?x)<a.+?class="o-T-s\s[^"]+"\s+style="display:\s*none"\s*>
+ ([0-9]{4}-[0-9]{2}-[0-9]{2})</a>''',
webpage, u'upload date', fatal=False)
if upload_date:
# Convert timestring to a format suitable for filename
webpage, u'upload date', fatal=False)
if upload_date:
# Convert timestring to a format suitable for filename