Javascript scrapers?

  Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
Hedda Offline
Fan
Posts: 673
Joined: Feb 2013
Reputation: 12
Post: #1
(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=n...e-Embedded
find quote
ironic_monkey Offline
Posting Freak
Posts: 1,341
Joined: Nov 2013
Reputation: 65
Post: #2
a generator for an xml file written in javascript makes you think you can write add-ons in javascriptConfused

if i were in charge you would have banned your ass for thread hijacking a long time ago.
(This post was last modified: 2017-02-19 12:16 by ironic_monkey.)
find quote