mirror of
https://github.com/soimort/you-get.git
synced 2025-01-24 05:55:02 +03:00
[qq] fix weixin embedded video support
This commit is contained in:
parent
6e17b0c7f9
commit
3d08064d31
@ -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)
|
qieDownload(url, output_dir=output_dir, merge=merge, info_only=info_only)
|
||||||
return
|
return
|
||||||
|
|
||||||
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'\?vid=(\w+)'])
|
vids = matchall(content, [r'\?vid=(\w+)'])
|
||||||
for vid in vids:
|
for vid in vids:
|
||||||
|
Loading…
Reference in New Issue
Block a user