mirror of
https://github.com/soimort/you-get.git
synced 2025-01-23 05:25:02 +03:00
qq switch shd to fhd
This commit is contained in:
parent
5b11d77f9f
commit
1f678d6534
@ -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