scrapinghub / price-parser

Extract price amount and currency symbol from a raw text string

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bug non break space.

maranqz opened this issue · comments

Some store show price with non-break space and parser return None.

could you please provide some sample input @maranqz?

from price_parser import Price

price = Price.fromstring("1 298,00") # 1 298,00
print(price.amount)