asciidisco / plugin.video.netflix

Inputstream based Netflix plugin for Kodi
MIT License
1.24k stars 226 forks source link

Cookie expired time wrong compared #660

Open Joe136 opened 5 years ago

Joe136 commented 5 years ago

I'm submitting a ...

Prerequisites

Description

In NetflixSession.py#L256 the comparison of the expire time selects the oldest cookie. I think it should be expires < exp (resp. exp > expires). Once the first cookie will expire, the speed will drop for all Netflix.router() calls.

I also looked into the cookie-db and found a cookie with expires=3697214258 (year 2087, it will never expire); maybe this will create problems, I'm not sure.

BR Joe

jakermx commented 5 years ago

Good catch!