geeknote
geeknote copied to clipboard
correct implementation according to BS
correct implementation according to BS, avoids BS warning message being displayed to the user
Still cannot silent the warning...
After making two recommended changes I've seen here, I still get the same warning message:
Recommendation 1:
soup = BeautifulSoup(contentENML.decode('utf-8'), 'html.parser')
Recommendation 2:
soup = BeautifulSoup(contentENML.decode('utf-8'), 'lxml')