Skip to content

New license format #92

@phhusson

Description

@phhusson

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions