Shopify Extractor avatar

Shopify Extractor

Try for free

No credit card required

View all Actors
Shopify Extractor

Shopify Extractor

jupri/shopify-scraper
Try for free

No credit card required

Scrape products data from shopify e-commerce websites.

WE

No currency - continue

Closed

wescdev opened this issue
2 years ago
RS

arseni

2 years ago

Sorry- I've closed the last thread by mistake Can you please give an example to the usage of the new currency feature? I tried a couple of websites but still haven't got it to work (or output a different result)

Thanks, Arseni

Jupri avatar

cat (Jupri)

2 years ago

Hi. Arseni! checkout for example: https://skknbykim.com this site support multiple currency.

I use currency IDR

2022-11-30T11:55:17.988Z 📝 Arguments: 2022-11-30T11:55:17.990Z ✅ url : https://skknbykim.com 2022-11-30T11:55:17.992Z ✅ currency : IDR 2022-11-30T11:55:18.152Z 📝 Metadata: 2022-11-30T11:55:18.154Z ✅ currency : IDR 2022-11-30T11:55:18.156Z ✅ localization : None 2022-11-30T11:55:18.158Z 😼 removing emptiness ... 2022-11-30T11:55:18.160Z 🍰 5 results available. 2022-11-30T11:55:18.270Z 👋 Done.

notice the output METADATA.currency = IDR this mean prices in the output must be in IDR

Jupri avatar

cat (Jupri)

2 years ago

if METADATA.currency is None or other than currency input, then the currency is not supported. hope this make sense.

RS

arseni

2 years ago

Thank you for the explanation! I checked the same website and I saw the new result, and the different "price" value when comparing IDR to USD. One small thing that bothers me- I don't want to "ask" for a specific currency as much as I want to understand which currency is used (to understand what the price value represents) I checked your example without providing a currency value and I saw the log output of: 2022-12-08T19:53:42.043Z 📝 Arguments: 2022-12-08T19:53:42.044Z ✅ url : https://skknbykim.com 2022-12-08T19:53:42.045Z ✅ limit : 99999 2022-12-08T19:53:42.328Z 📝 Metadata: 2022-12-08T19:53:42.329Z ✅ currency : USD 2022-12-08T19:53:42.329Z ✅ localization : None Is it possible to add the currency value also to the dataset items output itself? (along with the price field?) Also- is the currency output is from any specific list? Or straight from the shop?

Thank you so much for your support again!

RS

arseni

2 years ago

Also, on one website I'm checking (https://sweets.myshopify.com/) I don't see any currency detected (Always 'None')

RS

arseni

2 years ago

@Cat - any news? :)

Developer
Maintained by Community
Actor metrics
  • 20 monthly users
  • 3 stars
  • 77.1% runs succeeded
  • Created in Oct 2022
  • Modified 11 months ago
Categories