(2015-09-27, 23:23)ZumZen Wrote: Here's an update that works with their new website. It basically gets JSON data from both the web pages and the private REST API.
It's work in progress, but I figured I'd share it sooner rather than later in case people want to improve it or update the official add-on.
http://pastebin.com/K0LD5pLX
At first glance this looks good.
Are you using the json endpoints that netflixs' own webpages are using to get show details etc? Or did you find some more elsewhere?
I would highly recommend working with a github fork of the repo, you can fork into you own free account (
https://guides.github.com/activities/forking/ ) then clone it straight into your kodi addons folder.
Then every change you make that's good just commit it to git. push to github when you've got a good set and pull-request it back to me when you've got stuff to share!
Even if you've never used git/github before it's pretty easy to pick up, and means you'll never accidentally overwrite and lose some working changes.
It also makes it really easy to send your changes over to me in a pull request to integrate into the mainline. This would also mean you get credit on the github history page for all your work ;-)
Even if you don't have a chance to use github, I definitely recommend disabling my repo or at least keep regular backups of your changes, because if I release a new version it might just overwrite all your local changes with the new download!
I'm working on large updates to the plugin myself at the moment, but haven't got to the api yet (starting with cleaning up the code, fixing ssl etc).
I'm planning on using a json api from a third party website as well as any that can be found from netflix, so your code will be quite useful for that! The end goal is to avoid scraping any website, if possible.