Added proxy support
- Minor code change to prevent bug
This commit is contained in:
@@ -36,7 +36,7 @@ def decrypt_content(in_pssh: str = None, license_url: str = None, headers: dict
|
||||
# Generate the challenge
|
||||
challenge = cdm.get_license_challenge(session_id, pssh)
|
||||
|
||||
if proxy:
|
||||
if proxy is not None:
|
||||
# send license challenge
|
||||
license = requests.post(
|
||||
url=license_url,
|
||||
|
||||
Reference in New Issue
Block a user