Small change
This commit is contained in:
parent
96e36e7a05
commit
dd67896a9f
@ -360,11 +360,11 @@ class Hotstar(BaseService):
|
|||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def get_akamai():
|
def get_akamai():
|
||||||
enc_key = b"\x05\xfc\x1a\x01\xca\xc9\x4b\xc4\x12\xfc\x53\x12\x07\x75\xf9\xee"
|
enc_key = "05fc1a01cac94bc412fc53120775f9ee"
|
||||||
st = int(time.time())
|
st = int(time.time())
|
||||||
exp = st + 12000
|
exp = st + 12000
|
||||||
res = f"st={st}~exp={exp}~acl=/*"
|
res = f"st={st}~exp={exp}~acl=/*"
|
||||||
res += "~hmac=" + hmac.new(enc_key, res.encode(), hashlib.sha256).hexdigest()
|
res += "~hmac=" + hmac.new(bytes.fromhex(enc_key), res.encode(), hashlib.sha256).hexdigest()
|
||||||
return res
|
return res
|
||||||
|
|
||||||
def get_token(self):
|
def get_token(self):
|
||||||
|
@ -4,7 +4,6 @@ tag_sd: 'JEFF'
|
|||||||
|
|
||||||
aria2c:
|
aria2c:
|
||||||
file_allocation: 'prealloc'
|
file_allocation: 'prealloc'
|
||||||
|
|
||||||
|
|
||||||
cdm:
|
cdm:
|
||||||
default: 'hisense_smarttv_he55a7000euwts_sl3000'
|
default: 'hisense_smarttv_he55a7000euwts_sl3000'
|
||||||
@ -21,7 +20,8 @@ cdm_api:
|
|||||||
security_level: 1
|
security_level: 1
|
||||||
|
|
||||||
credentials:
|
credentials:
|
||||||
iTunes: 'Playreadydrm@proton.me'
|
iTunes: ''
|
||||||
|
Hotstar: 'username:password'
|
||||||
|
|
||||||
directories:
|
directories:
|
||||||
temp: ''
|
temp: ''
|
||||||
|
Loading…
x
Reference in New Issue
Block a user