MCPcopy Create free account
hub / github.com/Boris-code/feapder / get_text

Function get_text

feapder/utils/tools.py:860–865  ·  view source on GitHub ↗
(soup, *args)

Source from the content-addressed store, hash-verified

858
859
860def get_text(soup, *args):
861 try:
862 return soup.get_text()
863 except Exception as e:
864 log.error(e)
865 return ""
866
867
868def del_html_tag(content, save_line_break=True, save_p=False, save_img=False):

Callers

nothing calls this directly

Calls 2

get_textMethod · 0.80
errorMethod · 0.80

Tested by

no test coverage detected