2011-01-07, 12:46
Hate to quote a rival project as an example, but Plex uses webkit as it's main tool for video plugins. Its a little cpu intensive, but drasticly reduces development time for javascript/AJAX heavy pages and the majority of video plugins. It seems to have also allowed plex addon development to have very quickly caught up with XBMC.
afaik, its all totally open-source?
i know there is already a project to build a browser in xbmc using webkit.
http://forum.xbmc.org/showthread.php?tid=71465
im a little confused about all the various incarnations (webkit, webkitqt4, webkitgtk)
and the various python modules that go with them.....
but these links seem to be relevant.
http://www.gnu.org/software/pythonwebkit/
http://webkit.org/
http://www.riverbankcomputing.co.uk/stat...ebkit.html
http://wiki.plexapp.com/index.php/Creati...ite_Config
also:
https://trac.webkit.org/wiki/PythonGuidelines says:
Does anyone else think this would be a really helpful tool for video addon development? It seems to make complex scraping much more simple.
If so, how would it be implemented? Would it require installing the webkit engine to an OS directory or XBMC directory? Could this be done throught the new binary addon system? Webkit has versions for each major platform (Linux, OSX, Windows), so maybe it ought to be installed to an OS directory (outside of XBMC paths).
I expect the python modules that provide bindings to webkit engine could just be packaged as an installable (ie. similiar to this: script.module.mechanize.zip)
I came across webkit when searching for ways to implement a resolver for 2shared's javascript-heavy download link that didn't require hours of committed coding. It seems the perfect way to get round the lengths that video sites go to avoid people scraping/finding the direct vid links;
simulate a fully-functional browser and use webkit to find and pass the resulting file link to xbmc.
afaik, its all totally open-source?
i know there is already a project to build a browser in xbmc using webkit.
http://forum.xbmc.org/showthread.php?tid=71465
im a little confused about all the various incarnations (webkit, webkitqt4, webkitgtk)
and the various python modules that go with them.....
but these links seem to be relevant.
http://www.gnu.org/software/pythonwebkit/
http://webkit.org/
http://www.riverbankcomputing.co.uk/stat...ebkit.html
http://wiki.plexapp.com/index.php/Creati...ite_Config
also:
https://trac.webkit.org/wiki/PythonGuidelines says:
Quote:WebKit's Python scripts require Python 2.5 or higher to run.but that won't be a problem in Eden (XBMC 11.0)
Does anyone else think this would be a really helpful tool for video addon development? It seems to make complex scraping much more simple.
If so, how would it be implemented? Would it require installing the webkit engine to an OS directory or XBMC directory? Could this be done throught the new binary addon system? Webkit has versions for each major platform (Linux, OSX, Windows), so maybe it ought to be installed to an OS directory (outside of XBMC paths).
I expect the python modules that provide bindings to webkit engine could just be packaged as an installable (ie. similiar to this: script.module.mechanize.zip)
I came across webkit when searching for ways to implement a resolver for 2shared's javascript-heavy download link that didn't require hours of committed coding. It seems the perfect way to get round the lengths that video sites go to avoid people scraping/finding the direct vid links;
simulate a fully-functional browser and use webkit to find and pass the resulting file link to xbmc.