This commit is contained in:
Mort Yao 2012-10-18 12:42:58 +02:00
parent 90c73e745b
commit 7b32b7313a

View File

@ -8,7 +8,7 @@ def googleplus_download(url, output_dir = '.', merge = True, info_only = False):
html = get_html(url)
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)
html2 = get_html(url2)