readabilite: remove unneeded reference to `features` (overriden by `builder`)
continuous-integration/drone/push Build is passing Details

master
pictuga 1 year ago
parent dbdca910d8
commit fb643f5ef1

@ -30,7 +30,7 @@ class CustomTreeBuilder(bs4.builder._lxml.LXMLTreeBuilder):
def parse(data, encoding=None):
kwargs = {'from_encoding': encoding} if encoding else {}
return lxml.html.soupparser.fromstring(data, features='lxml', builder=CustomTreeBuilder, **kwargs)
return lxml.html.soupparser.fromstring(data, builder=CustomTreeBuilder, **kwargs)
def count_words(string):

Loading…
Cancel
Save