Originally Posted by ElCap View Post
Originally Posted by petar20 View Post
Thanks for answers.

Yes, I was asking for working response, how it looks like.
You show it and I see it for the first time how it looks like.
I have never got such results, always error code 412 or 403.

Don't understand where can be problem.
Maybe something is wrong install with python or any module and that makes those errors.
412 error code is normally when the dt-custom-data header isnt in the request.
403 error code is normally when the dt-custom-data header is in the request but has expired (assuming its not a geo restriction error)

if you are still getting the 412 error code then it might be something simple like you are editing the script, but then running the old script.

Can you unzip the drmtoday.zip file to a new folder, then overwrite the drmtoday.py file with the code that Karoolus posted here https://forum.videohelp.com/threads/410632-need-help-to-get-the-drm-keys-from-a-vtm-pr...am#post2708493
then run it from the new folder.
Thanks for answer.

I tried today and always got 403 error.

Always show this message:

Code:
Enter pssh : AAAAYXBzc2gAAAAA7e+LqXnWSs6jyCfc1R0h7QAAAEEIARIQ7dCN8Y5SODG7GEnriX8
g4BoIY2FzdGxhYnMiGDdkQ044WTVTT0RHN0dFbnJpWDhnNEE9PTIHZGVmYXVsdA==
Enter Token: eyJ1c2VySWQiOiJhbm9ueW1vdXNocnQiLCJzZXNzaW9uSWQiOiJUTmZ0TmhBa19zbjd
BNmt2NTRsWU5FYmFidkdqYVFQTnJpWkotUDAwX0h1R2hVZFVoN04tNFdNanhNRVBneXA1MHZjMEVDUEU
wWHJDMjRab20yMEJCQS4uIiwibWVyY2hhbnQiOiJhdmlpb24yIn0=
<Response [403]>
Traceback (most recent call last):
  File "DRMToday.py", line 31, in <module>
    license_b64 = json.loads(response.content.decode('utf-8-sig'))
  File "C:\Users\PC\AppData\Local\Programs\Python\Python38-32\lib\json\__init__.
py", line 357, in loads
    return _default_decoder.decode(s)
  File "C:\Users\PC\AppData\Local\Programs\Python\Python38-32\lib\json\decoder.p
y", line 337, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "C:\Users\PC\AppData\Local\Programs\Python\Python38-32\lib\json\decoder.p
y", line 355, in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
Don't know why I got such errors.

Congatulation to mario - he had success with this script.

I give up from this.

Thanks for all of you, who tried to help.
Keep good work and wish you all the best.