Thanks guys, but first of all i need a new keyboard
I will dig in bs4 as it looks easier to modify an existing max-width so a rerun after a picture has been scaled down doesnt add a second inline style. Need to read the documentation first. Still i'm a beginner in python and a novice in beautifulsoup.
With lxml i'm always struggling with the namespace