andrewleech / plugin.video.netflixbmc

NetfliXBMC - Unofficial Netflix Add-on (Win/OSX/Linux)
http://forum.kodi.tv/showthread.php?tid=211574
GNU General Public License v2.0
56 stars 29 forks source link

Feature/video info using title page #68

Open guss77 opened 8 years ago

guss77 commented 8 years ago

Changed getVideoInfo to use the title page (www.netflix.com/title/{videoID}) as the old video info page was just redirecting to the main screen.

I also replaced the regular expression parser in list_video with an lxml XPath parser - its more sane that way and less breaky.

There are some readers there which I couldn't get right - the MPAA rating is gone, instead they have something called "maturity rating", so I used that instead; and I couldn't find where the quality rating is on the website at all.

I've tested it and more things work now, especially in the "my list" TV Shows section, but there is still work to be done: search, for example, sometimes still fails with an error parsing, and even if it doesn't - the list is empty.