Skip to content

Conversation

@webdeb
Copy link

@webdeb webdeb commented May 30, 2022

Hello there, sometimes its good to have the actual raw data for various of tasks.

output.price.current_price = $(`span.a-price.priceToPay`)[0] ? this.geo.price_format($($(`span.a-price.priceToPay`)[0].children[0]).text()) : 0;
output.price.current_price = $(`span.a-price.priceToPay`)[0]
? this.geo.price_format($($(`span.a-price.priceToPay`)[0].children[0]).text())
: 0;
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

auto formatting, sorry for that

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant