plugins.zattoo: fix login error#3202
Merged
Merged
Conversation
Codecov Report
@@ Coverage Diff @@
## master #3202 +/- ##
===========================================
+ Coverage 52.68% 62.72% +10.03%
===========================================
Files 244 467 +223
Lines 15687 20930 +5243
Branches 0 2921 +2921
===========================================
+ Hits 8265 13128 +4863
- Misses 7422 7445 +23
- Partials 0 357 +357 |
back-to
reviewed
Sep 24, 2020
| class Zattoo(Plugin): | ||
| API_CHANNELS = '{0}/zapi/v2/cached/channels/{1}?details=False' | ||
| API_HELLO = '{0}/zapi/session/hello' | ||
| API_HELLO = '{0}/zapi/v2/session/hello' |
Collaborator
There was a problem hiding this comment.
will probably not work with the other domains
Contributor
Author
There was a problem hiding this comment.
I can only test Zattoo.com, how did you test the other domains?
Collaborator
There was a problem hiding this comment.
example https://nettv.netcologne.de/login
you can find the tokens in there app js file or with the dev browser
https://nettv.netcologne.de/app-d40b11ba89813ef876ed.js
https://nettv.netcologne.de/token-f529cbcc9da0102cadbd515f962bd119.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #3197
Thanks to @DESK-coder for his proposal