fix bilibili 4k

This commit is contained in:
Shen 2020-09-07 14:29:00 +08:00
parent 80d88a1331
commit 5adb4caa73
No known key found for this signature in database
GPG Key ID: D2977E7779DB4CC5

View File

@ -62,7 +62,7 @@ class Bilibili(VideoExtractor):
@staticmethod
def bilibili_api(avid, cid, qn=0):
return 'https://api.bilibili.com/x/player/playurl?avid=%s&cid=%s&qn=%s&type=&otype=json&fnver=0&fnval=16' % (avid, cid, qn)
return 'https://api.bilibili.com/x/player/playurl?avid=%s&cid=%s&qn=%s&type=&otype=json&fnver=0&fnval=16&fourk=1' % (avid, cid, qn)
@staticmethod
def bilibili_audio_api(sid):