spinlud / py-linkedin-jobs-scraper

MIT License
311 stars 86 forks source link

"[Report Only] Refused to execute inline script because it violates the following Content Security Policy directive:" #5

Open ajcohen1 opened 3 years ago

ajcohen1 commented 3 years ago

Hello,

Trying to test out your program. However, when running the test query on your README, it's giving me the error posted in the title. If it helps, I am using Windows and Pycharm. Updated the chrome driver to my path. Anything else I forgot?

Thanks!

spinlud commented 3 years ago

Hi, this seems related to a problem with the Linkedin site not being compliant with Chrome Cross Security Policy. This is also causing pagination to not working properly during standard browser navigation. I don't know if and when they are going to fix it...anyway I think I've found a workaround to force bypass of CSP using Chrome Devloper Tools protocol. Please try latest version and see if it solves the problem.