-
-
Notifications
You must be signed in to change notification settings - Fork 7
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
"eventType": "error", "code": "289" #42
Comments
If the extra headers are those q5vwyrl1ft-* then I'm afraid those come from a captcha verification and the addon can't generate them. |
I added a workaround in version 0.4.12. |
did you test this? with this code: from lib.sky import SkyShowtime
hello = SkyShowtime('', 'peacocktv')
hello.login('EMAIL', 'PASSWORD') I get the same 289 error |
It seems the workaround no longer works :( |
Try replacing PC with TELEVISION
|
still fail for me:
|
Strange, it worked a few minutes ago. |
does it work for you now? also, I think I found something. I just captured the Android client, and it uses similar headers:
I searched the other requests for
https://freetexthost.net/gLTgbHQ notice its the same headers, but they are mixed case. so I searched again for https://www.peacocktv.com/android/native-app/update which has the same value (note I removed some of the JSON below): {
"kernelId": "A08VCl6OAQAAq7e8OaQ7eGFmkyhLze1_FbMySJOf9qu7hs9BfluL1Alc2Rc8AUi1B9EAAAAAAABgfTJdYD2ykA==",
"dl": 0,
"nativeSignalHeaderPrefix": "k1QbeSDhKQ-",
"uriBypass": [],
"enableCVM": false,
"urlChecksumLength": 1024,
"bodyChecksumLength": 1024,
"id": "android_config",
"updateTimeout": 60000,
"rtd": 255,
"maxUpdateInterval": 28800000,
"kernel": "(function o(E){var DR={},Dq={};var DK=ReferenceError,Dy=TypeErr...",
"ck": {},
"ttl": 86400000,
"uriBypass2": [],
"version": "1.1",
"storePID": true,
"updateInterval": 14400000,
"updateURL": "https://www.peacocktv.com/android/native-app/update",
"updateHeaderName": "x-17Dzmhep",
"updateURLMap": {
"qa": "https://www.stable-int.peacocktv.com/android/native-app/update",
"default": "https://www.peacocktv.com/android/native-app/update",
"prod": "https://www.peacocktv.com/android/native-app/update"
},
"support": 255,
"enableNHC": false
} |
The problem is how to find out the values for those k1QbeSDhKQ- headers. I think they come from a captcha. |
This repo has solved for it for southwest. It uses a headless browser but that's a flag that can be easily changed so that it loads a graphical chromium instance as long as you're running in an environment that would support it. https://github.com/jdholtz/auto-southwest-check-in |
Right now it seems login works again, with no changes (version 0.4.11). |
OK it worked once but now its failing again, not sure whats going on |
It's still working for me. |
OK I will test it again after work. I know my credentials are valid, because I can use the |
I guess due to so many login attempts, both Peacock and SkyShowtime forced me to reset my password. |
does the code work after the reset? I can try a reset on mine but I don't know if that's the issue |
Yes, I could log in with no problems using the addon. |
@Paco8 are you able to capture the TV app? if so looks like we can use the TV login: |
No, unfortunately I don't know how to capture from the TV app. |
it seems they are A/B testing, because using everything exactly the same, I will get 9/10 success and 1/10 failure. I will close for now, but in the future email/password login might be impossible |
plugin.video.skyott/resources/lib/endpoints.py
Line 27 in 8ab2e00
it seems like some extra headers are required now:
otherwise you get this response:
The text was updated successfully, but these errors were encountered: