From 5170779c697945b9493e455d5a74904eaafa7dc0 Mon Sep 17 00:00:00 2001 From: AbdoullahBougataya Date: Fri, 2 Aug 2024 18:58:12 +0000 Subject: [PATCH] Fri, Aug 2, 2024, 9:58 PM +03:00 --- images_scrapper.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/images_scrapper.py b/images_scrapper.py index 5af12a5..dd01eb2 100644 --- a/images_scrapper.py +++ b/images_scrapper.py @@ -8,5 +8,7 @@ r = requests.get(goog_search) soup = BeautifulSoup(r.text, "html.parser") -search_result = soup.find_all("a", {"data-ved" : "2ahUKEwj21_Cf_daHAxVL1zgGHWfiDjAQFnoECAsQAg"}) +search_result = soup.find_all("a") +for i in range(len(search_result)): + if "" print(search_result)