Skip to content

Commit

Permalink
fix bilibili 4k
Browse files Browse the repository at this point in the history
  • Loading branch information
brainbush committed Sep 7, 2020
1 parent 80d88a1 commit 5adb4ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/you_get/extractors/bilibili.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def bilibili_headers(referer=None, cookie=None):

@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):
Expand Down

0 comments on commit 5adb4ca

Please sign in to comment.