mirror of
https://github.com/soimort/you-get.git
synced 2025-03-14 20:04:00 +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:
|
if 'mp.weixin.qq.com/s?' in url:
|
||||||
content = get_content(url)
|
content = get_content(url)
|
||||||
vids = matchall(content, [r'\bvid=(\w+)'])
|
vids = matchall(content, [r'\?vid=(\w+)'])
|
||||||
for vid in vids:
|
for vid in vids:
|
||||||
qq_download_by_vid(vid, vid, output_dir, merge, info_only)
|
qq_download_by_vid(vid, vid, output_dir, merge, info_only)
|
||||||
return
|
return
|
||||||
|
Loading…
x
Reference in New Issue
Block a user