widevine_keys icon indicating copy to clipboard operation
widevine_keys copied to clipboard

New license format

Open phhusson opened this issue 2 years ago • 1 comments

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: |||<160bits hex>

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)
                }))

phhusson avatar Sep 27 '23 17:09 phhusson

Interesting, thanks for your contribution seems like an amazonaws-based proxy image

medvm avatar Sep 27 '23 20:09 medvm