Skip to content

Commit 877c424

Browse files
committed
Added parent ASIN to parser
1 parent ac5e934 commit 877c424

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

amazon/parse.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,10 @@ def parse_product(item):
2828
product.title = item.item_info.title.display_value
2929
except Exception:
3030
product.title = None
31+
try:
32+
product.parent_asin = item.parent_asin
33+
except Exception:
34+
product.parent_asin = None
3135

3236
# Info
3337
product.info = Class()

0 commit comments

Comments
 (0)