mirror of
https://github.com/soimort/you-get.git
synced 2025-03-13 11:24:02 +03:00
Google+: fix #161
This commit is contained in:
parent
8f19b4e302
commit
ad1512b484
@ -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:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user