[qq] fix weixin embedded video support

This commit is contained in:
Hongbo Liu 2018-01-04 23:34:20 +08:00
parent 6e17b0c7f9
commit 3d08064d31

View File

@ -114,7 +114,7 @@ def qq_download(url, output_dir='.', merge=True, info_only=False, **kwargs):
qieDownload(url, output_dir=output_dir, merge=merge, info_only=info_only)
return
if 'mp.weixin.qq.com/s?' in url:
if 'mp.weixin.qq.com/s' in url:
content = get_content(url)
vids = matchall(content, [r'\?vid=(\w+)'])
for vid in vids: