Skip to content

Extract Van Gogh paintings #355

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Marryweb
Copy link

@Marryweb Marryweb commented Aug 19, 2025

Summary

This PR adds the functionality to extract Van Gogh paintings data from the HTML file.

Changes

  • Developed a Ruby script to parse the provided HTML file directly without requiring external HTTP requests.
  • Extracted following fields for each painting:
    • Name
    • Extensions
    • Google link
    • Thumbnail image
  • Generated clean JSON output van-gogh-paintings-extracted.json.
  • Added RSpec tests to validate:
    • Extraction accuracy against an expected dataset.
    • Handling of empty extension fields.
    • Presence and formatting of all required fields.

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