mirror of
https://github.com/soimort/you-get.git
synced 2025-03-13 03:17:44 +03:00
[qq]fix weixin patterns
This commit is contained in:
parent
e8624e6387
commit
996634d473
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user