Browse Source

[googleplus] Fix upload date extraction

rtmp_test
Jaime Marquínez Ferrándiz 11 years ago
parent
commit
fad84d50fe
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      youtube_dl/extractor/googleplus.py

+ 2
- 1
youtube_dl/extractor/googleplus.py View File

@ -40,7 +40,8 @@ class GooglePlusIE(InfoExtractor):
self.report_extraction(video_id)
# Extract update date
upload_date = self._html_search_regex('title="Timestamp">(.*?)</a>',
upload_date = self._html_search_regex(
['title="Timestamp">(.*?)</a>', r'<a.+?class="g-M.+?>(.+?)</a>'],
webpage, u'upload date', fatal=False)
if upload_date:
# Convert timestring to a format suitable for filename


Loading…
Cancel
Save