Release Beautifulsoup 3 & 4
#1
Beautifulsoup 3.3.1

http://mirrors.xbmc.org/addons/frodo/scr...tifulsoup/
install .zip and use this import in your addon

addon.xml
PHP Code:
<import addon="script.module.beautifulsoup" version="3.2.1"/> 

python code:
PHP Code:
from BeautifulSoup import BeautifulSoup 


Beautifulsoup 4.3.1
not entirely compatible with 3.2.1 so will be added as separate module
http://mirrors.xbmc.org/addons/frodo/scr...ifulsoup4/
install .zip and use this import in your addon

addon.xml
PHP Code:
<import addon="script.module.beautifulsoup4" version="4.3.1"/> 

python code
PHP Code:
from bs4 import BeautifulSoup 

please test these if possible.
if these work i will push them to Frodo repo.
Read/follow the forum rules.
For troubleshooting and bug reporting, read this first
Interested in seeing some YouTube videos about Kodi? Go here and subscribe
Reply
#2
Oh nice.. :-)

Can't wait to try out some bs4.

Thanks!
Reply
#3
pushed both to Frodo repo
have fun Smile
Read/follow the forum rules.
For troubleshooting and bug reporting, read this first
Interested in seeing some YouTube videos about Kodi? Go here and subscribe
Reply
#4
Now that the stance on binary add-ons has somewhat changed, would it be possible to have a lxml script module?

The reason I ask here is because, I don't see much of an advantage in using bs4 without lxml ->

Quote:http://www.crummy.com/software/Beautiful...g-a-parser

If you can, I recommend you install and use lxml for speed. If you’re using a version of Python 2 earlier than 2.7.3, or a version of Python 3 earlier than 3.2.2, it’s essential that you install lxml or html5lib–Python’s built-in HTML parser is just not very good in older versions.
Reply

Logout Mark Read Team Forum Stats Members Help
Beautifulsoup 3 & 40