mirror of
https://github.com/soimort/you-get.git
synced 2025-02-02 16:24:00 +03:00
修复搜狐号的视频不能下载的问题
This commit is contained in:
parent
179bbeaa5e
commit
b96acaa526
@ -26,7 +26,7 @@ def sohu_download(url, output_dir='.', merge=True, info_only=False, extractor_pr
|
||||
vid = r1('id=(\d+)', url)
|
||||
else:
|
||||
html = get_html(url)
|
||||
vid = r1(r'\Wvid\s*[\:=]\s*[\'"]?(\d+)[\'"]?', html)
|
||||
vid = r1(r'\Wvid\s*[\:=]\s*[\'"]?(\d+)[\'"]?', html) or r1(r'bid:\'(\d+)\',', html)
|
||||
assert vid
|
||||
|
||||
if extractor_proxy:
|
||||
|
Loading…
Reference in New Issue
Block a user