[google] fix for notification links

This commit is contained in:
Mort Yao 2015-11-11 18:13:32 +01:00
parent 4d8c41c7da
commit a418bec38d

View File

@ -49,7 +49,7 @@ def google_download(url, output_dir = '.', merge = True, info_only = False, **kw
if service == 'plus': # Google Plus if service == 'plus': # Google Plus
if not re.search(r'plus.google.com/photos/[^/]*/albums/\d+/\d+', url): if not re.search(r'plus.google.com/photos/[^/]*/albums/\d+/\d+', url):
html = get_html(url) html = get_html(parse.unquote(url))
url = "https://plus.google.com/" + r1(r'"(photos/\d+/albums/\d+/\d+)', html) url = "https://plus.google.com/" + r1(r'"(photos/\d+/albums/\d+/\d+)', html)
title = r1(r'<title>([^<\n]+)', html) title = r1(r'<title>([^<\n]+)', html)
else: else: