mirror of
https://github.com/R0m1k3/Priceflow.git
synced 2026-10-24 15:48:11 +02:00
feat: Add abstract base parser with product result dataclass and implement Stokomani parser for search results.
This commit is contained in:
1 parent
ebe685fdf9
commit
078060f155
9 files changed
+136
-137
No files matched your search
@@ -46,6 +46,9 @@ class StokomaniParser(BaseParser):
|
||||
if not img_url:
|
||||
img_url = self.extract_image_url(prev_a)
|
||||
|
||||
if img_url:
|
||||
img_url = self.make_absolute_url(img_url)
|
||||
|
||||
# Price: Look for text node after the link
|
||||
price = None
|
||||
next_sibling = link.next_sibling
|
||||
|
||||
Reference in new issue
Block a user