Browse Source

Merge pull request #1324 from whydoubt/fix_gplus

Initial slash in Google+ photos link was removed
master
Jaime Marquínez Ferrándiz 11 years ago
parent
commit
443c12a703
1 changed files with 2 additions and 2 deletions
  1. 4
      youtube_dl/extractor/googleplus.py

4
youtube_dl/extractor/googleplus.py

@ -57,8 +57,8 @@ class GooglePlusIE(InfoExtractor):
webpage, 'title', default=u'NA') webpage, 'title', default=u'NA')
# Step 2, Simulate clicking the image box to launch video # Step 2, Simulate clicking the image box to launch video
DOMAIN = 'https://plus.google.com'
video_page = self._search_regex(r'<a href="((?:%s)?/photos/.*?)"' % re.escape(DOMAIN),
DOMAIN = 'https://plus.google.com/'
video_page = self._search_regex(r'<a href="((?:%s)?photos/.*?)"' % re.escape(DOMAIN),
webpage, u'video page URL') webpage, u'video page URL')
if not video_page.startswith(DOMAIN): if not video_page.startswith(DOMAIN):
video_page = DOMAIN + video_page video_page = DOMAIN + video_page

Loading…
Cancel
Save