Is it possible to run javascript in an kodi add-on?
#1
Hello, i'm trying to get past an cloudflare anti-ddos-page (dumpert.nl). However that involves some javascript being run, to be able to generete a cookie entry which will let me past the page. I was wondering if it's possible (and if so allowed) to run javascript in an kodi video add-on?!

Any help is appreciated Smile
Reply
#2
You can try Selenium (script.module.webdriver) + Phantom.js headless browser engine. The only problem is that Phantom.js binaries need to be provided for every platform you are going to support.
Reply
#3
I want to know how to download script.module.webdriver, because I can't download it directly and use it in KODI.
Reply
#4
https://github.com/hbiyik/script.module....et.py#L126

You can use js2py to eval those nasty 1, 0 s. Been there, above is the impl.
Reply

Logout Mark Read Team Forum Stats Members Help
Is it possible to run javascript in an kodi add-on?0