-
Notifications
You must be signed in to change notification settings - Fork 85
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
add other providre like vodafon3 #17
Comments
the point is vodafon3 i need use one user-agent of the device which i got the cdm in one call, and the user agent of the license is the same like show f12, so if i use switcher user agent addon like in amazon to change the user agent not working because change every user agent even in the license request, so.....dont find the solution |
|
one more question mate, and sorry, what about if we use this for one provider: licHeaders = {} res = await js.corsFetch(licUrl, "POST", json.dumps(licHeaders), payload) the question is, how the extension can use the nv-auth than the explorer give to us??????or how we can use only the headers we want???because i just need this ones, no the rest, and not working for me, just charge this headers but some also are charger in the request, why? |
Under normal circumstances, headers are automatically captured by the extension, so there is no need to reconfigure them from scratch. |
correct! i need api id for dont confuse to the license response, in the request there are the id of your api not from the real api, thats is the problem then, how can i say to the extension use the api id correctly???? using new token and adding not working using normal script for get keys work perfectly, so....nv auth is not the problem using for movist3r just this: |
Try corsFetch |
licHeaders['User-Agent'] = "Exoplayer-Android-Movilidad" |
Squashed with #44 |
i think the vodafon3.py should be like this
res = await (await pyfetch(licUrl,
method="POST",
headers=licHeaders,
body=challenge
)).txt()
licence = base64.b64decode(res.encode()) not sure txt or bytes or hex???
using the blockRules.conf and adding the rules for block the licence url because nv-auth tokens is just for one use....and folowing this tutto #12 i dont get any response of keys, anybody can help????
i put in blockRules.conf this
VDS7B9J3/wvls
vds7b9j3.anycast.nagra.com/VDS7B9J3/wvls/contentlicenseservice/v1/licenses
and in headers i need put something like this headers = {
'nv-authorizations': data_value,
'User-Agent': 'OTVMediaPlayer'
} the rest is normal, no special response of license, just license in bytes
i really like this extenxion because i think have very good future, but its very difficult put new providers, i prefer make my own script, i thought this method is going to be easier, but.........i tried another providers but without good results
i put in pre.py in the end of the script this
js.chrome.extension.getBackgroundPage().isBlock=False
and in Vodafon3.py put this in the end
js.chrome.extension.getBackgroundPage().isBlock=True
then botton right and lock url license, and the mpd doesnt play, error, thats right but...
nothing happen, no keys, so maybe im wrong doing the vodafon3.py,
any advice??? thanks
thank in advantage
The text was updated successfully, but these errors were encountered: