mirror of
https://github.com/soimort/you-get.git
synced 2025-02-03 00:33:58 +03:00
fix #18
This commit is contained in:
parent
90c73e745b
commit
7b32b7313a
@ -8,7 +8,7 @@ def googleplus_download(url, output_dir = '.', merge = True, info_only = False):
|
|||||||
html = get_html(url)
|
html = get_html(url)
|
||||||
html = parse.unquote(html).replace('\/', '/')
|
html = parse.unquote(html).replace('\/', '/')
|
||||||
|
|
||||||
title = r1(r'<title>(.*)\n', html)
|
title = r1(r'<title>(.*)</title>', html) or r1(r'<title>(.*)\n', html)
|
||||||
|
|
||||||
url2 = r1(r'"(https\://plus\.google\.com/photos/.*?)",,"image/jpeg","video"\]', html)
|
url2 = r1(r'"(https\://plus\.google\.com/photos/.*?)",,"image/jpeg","video"\]', html)
|
||||||
html2 = get_html(url2)
|
html2 = get_html(url2)
|
||||||
|
Loading…
Reference in New Issue
Block a user