Skip to content

Add motorsport.com custom parser#175

Open
jocmp wants to merge 1 commit into
mainfrom
jc/1725/motorsport-update
Open

Add motorsport.com custom parser#175
jocmp wants to merge 1 commit into
mainfrom
jc/1725/motorsport-update

Conversation

@jocmp
Copy link
Copy Markdown
Owner

@jocmp jocmp commented May 2, 2026

Summary

  • Adds custom parser for www.motorsport.com covering the new site template
  • Pulls article fields from meta tags where possible (og:title, og:image, datePublished)
  • Cleans inline ad placements (.ms-apb, .ms-ap-native, .outstream_partner) and the related-content sidebar
  • Preserves embedded images and section/picture markup so image-heavy articles render with figures intact

References jocmp/capyreader#1725. Replaces the closed PR #110 from the prior jc/motorsport.com branch.

Test plan

  • npx jest src/extractors/custom/www.motorsport.com/index.test.js

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