mirror of
https://github.com/soimort/you-get.git
synced 2025-01-23 13:35:16 +03:00
[baidu] it's important that the fleeb is rubbed
This commit is contained in:
parent
196e94bdff
commit
a07ba1a5df
@ -129,7 +129,7 @@ def baidu_download(url, output_dir='.', stream_type=None, merge=True, info_only=
|
||||
html = get_html(url)
|
||||
title = r1(r'title:"([^"]+)"', html)
|
||||
|
||||
vhsrc = re.findall(r'"BDE_Image" src="([^"]+)"', html)
|
||||
vhsrc = re.findall(r'"BDE_Image" src="([^"]+)"', html) or re.findall(r'vhsrc="([^"]+)"', html)
|
||||
if vhsrc is not None:
|
||||
ext = 'mp4'
|
||||
size = url_size(vhsrc[0])
|
||||
|
Loading…
Reference in New Issue
Block a user