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 bug in Wal-mart spider #1480

Merged
merged 1 commit into from May 13, 2020
Merged

Fix bug in Wal-mart spider #1480

merged 1 commit into from May 13, 2020

Conversation

jerluc
Copy link
Contributor

@jerluc jerluc commented May 13, 2020

This small fix addresses an issue whereby the original XPath query was pulling the wrong <script>
tag to look for location data. The minor adjustment makes the XPath query roughly equivalent to
the actual data extraction regular expression.

The result of the fix is around ~4300 locations found, and is visualized below (via the preview page):

Screenshot from 2020-05-12 17-37-24

This small fix addresses an issue whereby the original XPath query was pulling the wrong <script>
tag to look for location data. The minor adjustment makes the XPath query roughly equivalent to
the actual data extraction regular expression.
@iandees iandees merged commit 723d6e3 into alltheplaces:master May 13, 2020
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.

None yet

2 participants