Skip to content

[AmazonPriceTracker] Minor fix for parser, and new strategy#2603

Merged
Bockiii merged 1 commit intoRSS-Bridge:masterfrom
captn3m0:amazon-parse-minor-fix
Apr 4, 2022
Merged

[AmazonPriceTracker] Minor fix for parser, and new strategy#2603
Bockiii merged 1 commit intoRSS-Bridge:masterfrom
captn3m0:amazon-parse-minor-fix

Conversation

@captn3m0
Copy link
Contributor

@captn3m0 captn3m0 commented Apr 4, 2022

This fixes the "double" price issue in AmazonPriceTracker. (Noted here by @yamanq)

The GenericParser gets confused because some elements contain the
data twice - this puts a forced-two-decimal places limit as a
workaround.

Add another strategy (which takes precedence) as well

@github-actions
Copy link

github-actions bot commented Apr 4, 2022

Pull request artifacts

file last change
AmazonPriceTracker-current-context1 2022-04-04, 15:57:18
AmazonPriceTracker-pr-context1 2022-04-04, 15:57:18

@captn3m0 captn3m0 force-pushed the amazon-parse-minor-fix branch 2 times, most recently from 312852b to 835d7de Compare April 4, 2022 15:55
The GenericParser gets confused because some elements contain the
data twice - this puts a forced-two-decimal places limit as a
workaround.

Add another strategy (which takes precedence) as well
Copy link
Contributor

@yamanq yamanq left a comment

Choose a reason for hiding this comment

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

Works
image

@Bockiii
Copy link
Contributor

Bockiii commented Apr 4, 2022

The previews didnt work because of an error in my prtester. This is fixed now.

@Bockiii Bockiii merged commit e1e9a12 into RSS-Bridge:master Apr 4, 2022
@captn3m0 captn3m0 deleted the amazon-parse-minor-fix branch April 4, 2022 17:42
IAM-marco pushed a commit to IAM-marco/rss-bridge that referenced this pull request Jun 17, 2022
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.

3 participants