zytedata / zyte-common-items

Contains the common item definitions used in Zyte.
BSD 3-Clause "New" or "Revised" License
9 stars 6 forks source link

Standard price processors #94

Closed bulatbulat48 closed 1 month ago

bulatbulat48 commented 5 months ago

Standard price processors at the from ProductPage don't process integer and float values.

description: Supported inputs are Selector, SelectorList and HtmlElement. Other inputs are returned as is.

https://zyte-common-items.readthedocs.io/en/latest/reference/field-processors.html#zyte_common_items.processors.price_processor

nodes decorator: https://github.com/zytedata/zyte-common-items/blob/main/zyte_common_items/processors.py#L118