From 996634d4731c30ae35ff02ae08a39564316da03c Mon Sep 17 00:00:00 2001 From: MaxwellGoblin Date: Wed, 12 Jul 2017 21:11:22 +0800 Subject: [PATCH] [qq]fix weixin patterns --- src/you_get/extractors/qq.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/you_get/extractors/qq.py b/src/you_get/extractors/qq.py index 4b4af010..f103ed00 100644 --- a/src/you_get/extractors/qq.py +++ b/src/you_get/extractors/qq.py @@ -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