Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New license format #92

Open
phhusson opened this issue Sep 27, 2023 · 1 comment
Open

New license format #92

phhusson opened this issue Sep 27, 2023 · 1 comment
Labels
add site support New feature request

Comments

@phhusson
Copy link

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 phhusson added the add site support New feature request label Sep 27, 2023
@medvm
Copy link
Owner

medvm commented Sep 27, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
add site support New feature request
Projects
None yet
Development

No branches or pull requests

2 participants