mirror of
https://github.com/soimort/you-get.git
synced 2025-02-02 16:24:00 +03:00
默认下载fhd 1080p视频
只是把shd改成fhd,亲测可下载1080p
This commit is contained in:
parent
1c841f7e8c
commit
5798f3e16e
@ -17,7 +17,7 @@ def qq_download_by_vid(vid, title, output_dir='.', merge=True, info_only=False):
|
||||
video_json = None
|
||||
platforms = [4100201, 11]
|
||||
for platform in platforms:
|
||||
info_api = 'http://vv.video.qq.com/getinfo?otype=json&appver=3.2.19.333&platform={}&defnpayver=1&defn=shd&vid={}'.format(platform, vid)
|
||||
info_api = 'http://vv.video.qq.com/getinfo?otype=json&appver=3.2.19.333&platform={}&defnpayver=1&defn=fhd&vid={}'.format(platform, vid)
|
||||
info = get_content(info_api, headers)
|
||||
video_json = json.loads(match1(info, r'QZOutputJson=(.*)')[:-1])
|
||||
if not video_json.get('msg')=='cannot play outside':
|
||||
|
Loading…
Reference in New Issue
Block a user