Google+: fix #161

This commit is contained in:
Mort Yao 2013-04-20 12:50:12 +02:00
parent 8f19b4e302
commit ad1512b484

View File

@ -20,7 +20,7 @@ def googleplus_download(url, output_dir = '.', merge = True, info_only = False):
html = get_html(url2) html = get_html(url2)
html = parse.unquote(html.replace('\/', '/')) html = parse.unquote(html.replace('\/', '/'))
real_url = unicodize(r1(r'"(https://video.googleusercontent.com/[^"]*)",1\]', html).replace('\/', '/')) real_url = unicodize(r1(r'"(https://video.googleusercontent.com/[^"]*)",\d\]', html).replace('\/', '/'))
if real_url: if real_url:
type, ext, size = url_info(real_url) type, ext, size = url_info(real_url)
if not real_url or not size: if not real_url or not size: