1
0
mirror of https://github.com/wbt5/real-url.git synced 2025-08-10 21:31:33 +08:00

Compare commits

...

2 Commits

Author SHA1 Message Date
wbt5
b6042b88d8
💡 Update README.md
更新 README
2021-06-13 21:09:30 +08:00
wbt5
72ae1e17ca
🐛 Fix 腾讯体育 (#181)
腾讯体育platform、appVer参数更新
2021-06-13 20:54:59 +08:00
2 changed files with 8 additions and 4 deletions

View File

@ -26,6 +26,10 @@
有直播平台失效或新增其他平台解析的,可发 [issue](https://github.com/wbt5/real-url/issues/new)。
## 更新
2021.6.13:bug:修复腾讯体育。
2021.6.12:bug:修复斗鱼直播。
2021.05.22:sparkles:新增腾讯体育直播。
2021.05.15:art:更新爱奇艺、:bug:修复战旗直播。

8
kbs.py
View File

@ -32,7 +32,7 @@ class KBS:
tt = int(time.time())
week = int(time.strftime('%w'))
s = ('06fc1464', '4244ce1b', '77de31c5', 'e0149fa2', '60394ced', '2da639f0', 'c2f0cf9f')
ha = f'{s[week - 1]}{self.vid}{tt}*#06#402011'
ha = f'{s[week - 1]}{self.vid}{tt}*#06#40201'
ckey = hashlib.md5(ha.encode('utf-8')).hexdigest()
params = {
'cmd': 2,
@ -40,11 +40,11 @@ class KBS:
'pla': 0,
'stream': 2,
'system': 0,
'appVer': '3.0.0.138',
'encryptVer': f'7.{week}',
'appVer': '3.0.0.142',
'encryptVer': f'7.{7 if week == 0 else week}',
'qq': 0,
'device': 'PC',
'guid': '7dbd5b801e49ace0c8b3eba6b70c9ad6',
'guid': 'f56776a1fa52e9c8c4987bfecfbf0503',
'defn': 'shd', # shd默认超清
'host': 'qq.com',
'livepid': self.livepid,