Merge branch 'develop' of https://github.com/xiaohutushen30/you-get into xiaohutushen30-develop

This commit is contained in:
Mort Yao 2020-01-08 17:31:18 +01:00
commit afc1b57818
No known key found for this signature in database
GPG Key ID: 07DA00CB78203251

View File

@ -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: