Kodi Community Forum
Req python-lxml library - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Discussions (https://forum.kodi.tv/forumdisplay.php?fid=222)
+--- Forum: Feature Requests (https://forum.kodi.tv/forumdisplay.php?fid=9)
+--- Thread: Req python-lxml library (/showthread.php?tid=149301)



python-lxml library - jelly1 - 2012-12-23

It would be usefull if XBMC had support for LXML. LXML is a library capable of processing HTML,XML but a lot faster then Beautifulsoup, I know it's implemented in C so
multiple versions should be shipped for the different arch's I guess.

Still the library parses HTML/XML faster then the other competitors:
http://blog.dispatched.ch/2010/08/16/beautifulsoup-vs-lxml-performance/
http://blog.ianbicking.org/2008/03/30/python-html-parser-performance/

With these speed / memory benefits video addons could be rewritten and would feel a lot faster. LXML also parses faulty html better then beautifulsoup

Note that a feature request has been reported on the tracker 23 months ago
http://trac.xbmc.org/ticket/11189