Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: new prop favorXPath in parser_configuration #56

Merged
merged 1 commit into from
Feb 28, 2021
Merged

fix: new prop favorXPath in parser_configuration #56

merged 1 commit into from
Feb 28, 2021

Conversation

3id0
Copy link

@3id0 3id0 commented Feb 28, 2021

Add new boolean property "favorXPath" in parser_configuration.json

In some cases, a page's content may include JSON-LD (sdJSON) but
the data (e.g. price, name) is outdated/wrong compared to what can
be scraped with ParserXPath (this is the case with products pages
on unrealengine.com/marketplace for example).
In this case, the property "favorXPath" can be set to "true" for
a specific domain in order to ignore the problematic JSON-LD data.

Closes #55

Add new boolean property "favorXPath" in parser_configuration.json

In some cases, a page's content may include JSON-LD (sdJSON) but
the data (e.g. price, name) is outdated/wrong compared to what can
be scraped with ParserXPath (this is the case with products pages
on unrealengine.com/marketplace for example).
In this case, the property "favorXPath" can be set to "true" for
a specific domain in order to ignore the problematic JSON-LD data.

Closes #55
@lucafluri lucafluri merged commit 61a0728 into lucafluri:dev Feb 28, 2021
@3id0 3id0 deleted the issue55 branch April 13, 2021 23:05
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.

Wrong price in JSON-LD (ld+json) data
2 participants