Kodi Community Forum
Javascript scrapers? - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Scrapers (https://forum.kodi.tv/forumdisplay.php?fid=60)
+--- Thread: Javascript scrapers? (/showthread.php?tid=307478)



Javascript scrapers? - Hedda - 2017-02-17

(2017-02-07, 17:45)ronie Wrote: i'm currently working on python based scrapers for artists and albums.
Sorry if this is the wrong place to ask, as I know that Kodi have already had an integrated Python interpreter for many years now.

But can I ask if there is any plans for Kodi to also get native support for scrapers written in JavaScript?

I see that Razze made a "Kodi addon generator" which enables you to use Node.js would could allow to use JavaScript in addons.

http://forum.kodi.tv/showthread.php?tid=305664

It would however be more convenient if Kodi had an integrated (embedded) JavaScript engine for scrapers, plugins, and addons.

Example; V8 (JavaScript engine) from Chromium Project, though it might be overkill? Or Cesanta "V7" embedded JavaScript engine

https://en.wikipedia.org/wiki/V8_(JavaScript_engine)
https://developers.google.com/v8/

Cesanta "V7" embedded JavaScript engine for C/C++, which claims to be the worlds smallest JavaScript engine written in C

https://docs.cesanta.com/v7/master/
https://github.com/cesanta/v7

V8 integration might be better if Kodi still have plans to also integrating CEF (Chromium Embedded Framework) web server?

https://www.phoronix.com/scan.php?page=news_item&px=Kodi-Chrome-Embedded


RE: The logic and future of Music scrapers? - ironic_monkey - 2017-02-17

a generator for an xml file written in javascript makes you think you can write add-ons in javascriptHuh

if i were in charge you would have banned your ass for thread hijacking a long time ago.