mirror of
https://github.com/wbt5/real-url.git
synced 2025-08-13 23:31:38 +08:00
Compare commits
2 Commits
3c51cb5591
...
b6042b88d8
Author | SHA1 | Date | |
---|---|---|---|
|
b6042b88d8 | ||
|
72ae1e17ca |
@ -26,6 +26,10 @@
|
|||||||
有直播平台失效或新增其他平台解析的,可发 [issue](https://github.com/wbt5/real-url/issues/new)。
|
有直播平台失效或新增其他平台解析的,可发 [issue](https://github.com/wbt5/real-url/issues/new)。
|
||||||
|
|
||||||
## 更新
|
## 更新
|
||||||
|
2021.6.13::bug:修复腾讯体育。
|
||||||
|
|
||||||
|
2021.6.12::bug:修复斗鱼直播。
|
||||||
|
|
||||||
2021.05.22::sparkles:新增腾讯体育直播。
|
2021.05.22::sparkles:新增腾讯体育直播。
|
||||||
|
|
||||||
2021.05.15::art:更新爱奇艺、:bug:修复战旗直播。
|
2021.05.15::art:更新爱奇艺、:bug:修复战旗直播。
|
||||||
|
8
kbs.py
8
kbs.py
@ -32,7 +32,7 @@ class KBS:
|
|||||||
tt = int(time.time())
|
tt = int(time.time())
|
||||||
week = int(time.strftime('%w'))
|
week = int(time.strftime('%w'))
|
||||||
s = ('06fc1464', '4244ce1b', '77de31c5', 'e0149fa2', '60394ced', '2da639f0', 'c2f0cf9f')
|
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()
|
ckey = hashlib.md5(ha.encode('utf-8')).hexdigest()
|
||||||
params = {
|
params = {
|
||||||
'cmd': 2,
|
'cmd': 2,
|
||||||
@ -40,11 +40,11 @@ class KBS:
|
|||||||
'pla': 0,
|
'pla': 0,
|
||||||
'stream': 2,
|
'stream': 2,
|
||||||
'system': 0,
|
'system': 0,
|
||||||
'appVer': '3.0.0.138',
|
'appVer': '3.0.0.142',
|
||||||
'encryptVer': f'7.{week}',
|
'encryptVer': f'7.{7 if week == 0 else week}',
|
||||||
'qq': 0,
|
'qq': 0,
|
||||||
'device': 'PC',
|
'device': 'PC',
|
||||||
'guid': '7dbd5b801e49ace0c8b3eba6b70c9ad6',
|
'guid': 'f56776a1fa52e9c8c4987bfecfbf0503',
|
||||||
'defn': 'shd', # shd默认超清
|
'defn': 'shd', # shd默认超清
|
||||||
'host': 'qq.com',
|
'host': 'qq.com',
|
||||||
'livepid': self.livepid,
|
'livepid': self.livepid,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user