mirror of
https://github.com/soimort/you-get.git
synced 2025-02-11 20:52:31 +03:00
Merge branch 'develop' into develop
This commit is contained in:
commit
9471ccc9a7
@ -5,7 +5,7 @@ __all__ = ['qq_download']
|
||||
from ..common import *
|
||||
|
||||
def qq_download_by_vid(vid, title, output_dir='.', merge=True, info_only=False):
|
||||
api = "http://h5vv.video.qq.com/getinfo?otype=json&vid=%s" % vid
|
||||
api = "http://h5vv.video.qq.com/getinfo?otype=json&platform=10901&vid=%s" % vid
|
||||
content = get_html(api)
|
||||
output_json = json.loads(match1(content, r'QZOutputJson=(.*)')[:-1])
|
||||
url = output_json['vl']['vi'][0]['ul']['ui'][0]['url']
|
||||
|
Loading…
Reference in New Issue
Block a user