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

(Deniz Akşimşek) Implement carousel scraper #286

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dz4k
Copy link

@dz4k dz4k commented Nov 26, 2024

My submission for the code challenge.

I tried to replicate the data in expected-array.json exactly (for the HTML file provided), which required some encoding-related code. These are marked with comments in the code, as I wasn't sure if identical encoding of e.g. quote marks in URLs was required, but implemented it anyway for the sake of easy verification of the results.

The Google carousel seems to have changed in the time between now and the creation of van-gogh-paintings.html (I added current examples under files/). My code successfully parses both the old and the current carousels.

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