mirror of
https://github.com/soimort/you-get.git
synced 2025-03-13 03:17:44 +03:00
Google+: naive fix #93
This commit is contained in:
parent
e21f7bf9ce
commit
1ca750ae55
@ -13,7 +13,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>(.*)</title>', html) or r1(r'<title>(.*)\n', html)
|
title = r1(r'<meta property="og:title" content="([^"]*)"', html) or 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)
|
||||||
if url2:
|
if url2:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user