So, I have started looking into making a video plugin myself, but I'm having a few problems (I've been doing Python for years but I'm new to developing for Kodi).
I have found most of the JSON files they use for listing their content. When I understand how to send directories/objects for Kodi to list, we should already have a basic list of everything on the network.
I'm currently trying to understand how they handle login, to generate the cookie needed to access all the video streams.
It's a bit weird, from what I understand:
- They handle login through a POST to
https://secure.wwe.com/workflow.do with 4 fields:
registrationAction:identify
emailAddress:<your email>
password:<your password>
submitButton:
However, when I try to POST to that address, I get a 404. I have to POST to
https://secure.net.wwe.com/enterworkflow...wwe.com%2F to get a response.
I can generate a cookie, but it doesn't seem to be correct (No info on session in it).
Another weird thing is that the login seems to do a GET on
https://secure.net.wwe.com/?flowId=accou...wwe.com%2F first, then a POST on workflow.do.
I haven't looked a generating video URLs yet, as login needs to be done first, then content listing.
It's very early and I may get nowhere, so don't get your hopes up
If anyone wants to help me understand that login process, you're welcome
(I'll making a Github repository once I start to have some working code)