GrubHubGitTub / GetExpiringNetflixMyList

Get a list of content on your Netflix My List that is expiring in the next month or two.
29 stars 3 forks source link

Doesn't log in - "Refused to apply style from..." #1

Open tensigh opened 2 years ago

tensigh commented 2 years ago

The first errors I got was "find_element_by" is deprecated, use "find_element" instead. I fixed that. Now I'm getting the error below:

[0220/181905.930:INFO:CONSOLE(0)] "Refused to apply style from 'https://www.netflix.com/personalization/cl2/freeform/Web siteDetect?source=wwwhead&fetchType=css&modalView=nmLanding' because its MIME type ('') is not a supported stylesheet MI ME type, and strict MIME checking is enabled.", source: https://www.netflix.com/ (0)

Is there a way to set the MIME type?

GrubHubGitTub commented 2 years ago

I'll look into it, haven't updated this in ages.

GrubHubGitTub commented 2 years ago

I just updated to make sure everything was running with Selenium 4.0. Works fine for me with both web drivers. I can't seem to replicate your error. At what point are you seeing the MIME type?