I tried to get some strings from an HTML file with BeautifulSoup and everytime I work with it I get partial results.
I want to get the strings in every li element/tag. S
This example from the documentation gives a very nice one liner.
''.join(BeautifulSoup(source).findAll(text=True))