Skip to content

Python scraper based on AI

removed junk if

VinciGit00b53bfefeeae7
diff --git a/scrapegraphai/utils/research_web.py b/scrapegraphai/utils/research_web.py
index 452d1a9a..bbe834a8 100644
--- a/scrapegraphai/utils/research_web.py
+++ b/scrapegraphai/utils/research_web.py
@@ -33,6 +33,5 @@ def search_word_on_web(word: str, web_browser: str = "Google", max_results: int
links = re.findall(r'https?://\S+', res)
return links
- else:
- raise ValueError(
- "The only web browsers avaiable are DuckDuckGo or Google")
+ raise ValueError(
+ "The only web browsers avaiable are DuckDuckGo or Google")