Firoj112 commited on
Commit
0a124b0
·
verified ·
1 Parent(s): 81f3dd6

Update tools/scrape_text.py

Browse files
Files changed (1) hide show
  1. tools/scrape_text.py +1 -1
tools/scrape_text.py CHANGED
@@ -40,4 +40,4 @@ class ScrapeTextTool(Tool):
40
  text_list = [element.text.strip() for element in elements if element.text.strip()]
41
  return "\n".join(text_list) if text_list else "No text found for selector"
42
  except Exception as e:
43
- return f"Failed to scrape with selector {selector}: {str(e)}"
 
40
  text_list = [element.text.strip() for element in elements if element.text.strip()]
41
  return "\n".join(text_list) if text_list else "No text found for selector"
42
  except Exception as e:
43
+ return f"Failed to scrape with selector {selector}: {str(e)}"