Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion backend/scraping/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down