[qq]fix weixin patterns

This commit is contained in:
MaxwellGoblin 2017-07-12 21:11:22 +08:00
parent e8624e6387
commit 996634d473

View File

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