Thread
:
Problems with Beautifulsoup with custom tags
View Single Post
03-28-2021, 12:31 PM
#
10
DiapDealer
Grand Sorcerer
Posts: 28,630
Karma: 204624552
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
It (the colon) should just be a string when used as an attribute name.
tag["xml:lang"] = "la"
to be more compatible with all version of BeautifulSoup
DiapDealer
View Public Profile
Find More Posts by DiapDealer
Track Posts by DiapDealer via RSS