Closed argaurav closed 1 year ago
Hi,
I came across this example:
In [14]: Price.fromstring("2 pairs from $349", decimal_separator=".") Out[14]: Price(amount=Decimal('2'), currency='$')
given we consider extracting currency as $ would it make sense to handle this case inside price parser?
currency
I have seen other examples like
In [15]: Price.fromstring("4 options from $439.34", decimal_separator=".") Out[15]: Price(amount=Decimal('4'), currency='$')
https://github.com/scrapinghub/price-parser/issues/2
Hi,
I came across this example:
given we consider extracting
currency
as $ would it make sense to handle this case inside price parser?