medvm / widevine_keys

This repo created for bypassing Widevine L3 DRM and obtaining keys.
450 stars 186 forks source link

New license format #92

Open phhusson opened 1 year ago

phhusson commented 1 year ago

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)
                }))
medvm commented 1 year ago

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