aboutsummaryrefslogtreecommitdiffstats
path: root/youtube_dl/extractor/googleplus.py
diff options
context:
space:
mode:
authorJeff Smith <whydoubt@yahoo.com>2013-08-27 14:38:50 -0500
committerJeff Smith <whydoubt@yahoo.com>2013-08-27 14:38:50 -0500
commit7f3c4f4f65ddb4f8374b31b74428780e60a373de (patch)
tree72087afced9241d7bfd7435ccf6c05faec6dbc57 /youtube_dl/extractor/googleplus.py
parent0bc56fa66a4b0f1b6bf827bd3550a119d3e3b231 (diff)
downloadyoutube-dl-7f3c4f4f65ddb4f8374b31b74428780e60a373de.zip
youtube-dl-7f3c4f4f65ddb4f8374b31b74428780e60a373de.tar.gz
youtube-dl-7f3c4f4f65ddb4f8374b31b74428780e60a373de.tar.bz2
Initial slash in Google+ photos link was removed
Diffstat (limited to 'youtube_dl/extractor/googleplus.py')
-rw-r--r--youtube_dl/extractor/googleplus.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/youtube_dl/extractor/googleplus.py b/youtube_dl/extractor/googleplus.py
index 9f7fc19..f1cd889 100644
--- a/youtube_dl/extractor/googleplus.py
+++ b/youtube_dl/extractor/googleplus.py
@@ -57,8 +57,8 @@ class GooglePlusIE(InfoExtractor):
webpage, 'title', default=u'NA')
# 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')
if not video_page.startswith(DOMAIN):
video_page = DOMAIN + video_page