From 6164ab61ab62f9f9d73743201757246d88b310ea Mon Sep 17 00:00:00 2001 From: sebastian6551 Date: Fri, 30 Jun 2023 08:59:29 -0500 Subject: [PATCH] Updated mercado libre scraping --- backend/scraping/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/scraping/views.py b/backend/scraping/views.py index 802a787..d8dc5ee 100644 --- a/backend/scraping/views.py +++ b/backend/scraping/views.py @@ -62,7 +62,7 @@ def productName(tag): # Gets the product price def productPrice(tag): return tag.find('div', class_='ui-search-price__second-line shops__price-second-line').find( - 'span', class_='price-tag-text-sr-only').get_text().split()[0] + 'span').find('span').get_text().split()[0] # Gets the product image def productImage(tag):