Hi, all,
When pasting in Headers information, can you copy and paste AS-IS from curl converter, or do you need to do some editing (remove punctuation?) first? (and do you copy/paste the COMPLETE block of text, from "import requests" --> to last character?)
Ex: (can this be pasted as-is?)
[Attachment 72866 - Click to enlarge]
Or do you need to, say, remove single quote marks (') and commas (,)?
Ex:
'pragma': 'no-cache',
becomes:
pragma: no-cache
or does it matter?
Thanks!
** EDIT **
Just tested it, removing the single quotes (') and commas (,) worked, i pasted in:
authority: XXXX
accept-language: XXXX
cache-control: XXXX
origin: XXXX
pragma: XXXX
preauthorization: XXXX
(use your actual values in place of XXXX)
(my advice, keep playing with values to see which lines you do/don't need until you generate a key successfully...not all lines will be needed, and some lines will cause errors, so do not use those)
+ Reply to Thread
Results 1 to 2 of 2
-
Last edited by PeeJay75; 2nd Aug 2023 at 23:52. Reason: (success)
-
Leave it as-is. Curl-converter produces correct code that runs standalone without editing.
If this is to be put into the pywidevine headers.py file, you should however yank the "import request" line and the last line, that makes the request to the license site. They are done elsewhere.
Similar Threads
-
"code":400,"error":true,"message" on http://getwvkeys.cc
By johnsonkiss in forum Video Streaming DownloadingReplies: 14Last Post: 25th Jul 2024, 21:45 -
{"code": 2048, "message": "Authentication failed"} when getting license
By warmachine in forum Video Streaming DownloadingReplies: 2Last Post: 26th May 2023, 16:34 -
How to change "m3u8" to "json" and "ts" to "js" extension
By wowza in forum User guidesReplies: 6Last Post: 4th Mar 2023, 15:36 -
having hard times with Headers in "vod.delivery.roku.com"
By user10thousand in forum Video Streaming DownloadingReplies: 4Last Post: 8th Feb 2023, 04:28 -
"Error opening mask file!.....[not] correct spool dir"
By Georgey in forum Newbie / General discussionsReplies: 6Last Post: 31st Dec 2022, 09:54