widevine_keys
widevine_keys copied to clipboard
New license format
Some websites (for instance france.tv) seem to use a new widevine proxy ( https://widevine-proxy.drm.technology/proxy ) with a new format.
The json is {"token":"yyyy", "drm_info":[xxxx]} where xxx is the list of bytes of the license request.
yyy looks like this:
This adds support for it:
responses.append(requests.post(url=lic_url, headers=headers.headers, params=params,
json={
"token": headers.token,
"drm_info": list(raw_request)
}))
Interesting, thanks for your contribution
seems like an amazonaws-based proxy