bs4.BeautifulStoneSoup.strings

BeautifulStoneSoup.strings

Yield all strings of certain classes, possibly stripping them.

By default, yields only NavigableString and CData objects. So no comments, processing instructions, etc.