From b53bfefeeae771a7d1ad73aed18afda244528028 Mon Sep 17 00:00:00 2001 From: VinciGit00 Date: Tue, 2 Apr 2024 12:57:27 +0200 Subject: [PATCH] removed junk if --- scrapegraphai/utils/research_web.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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")