mirror of
https://github.com/soimort/you-get.git
synced 2025-03-13 11:24:02 +03:00
[google] fix for notification links
This commit is contained in:
parent
4d8c41c7da
commit
a418bec38d
@ -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:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user