Skip to content

Commit

Permalink
feat: add predefined scraper rules for arstechnica.com
Browse files Browse the repository at this point in the history
  • Loading branch information
3zero2 authored Nov 15, 2024
1 parent 6eb1f25 commit c6c71c5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/reader/scraper/rules.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ package scraper // import "miniflux.app/v2/internal/reader/scraper"
// List of predefined scraper rules (alphabetically sorted)
// domain => CSS selectors
var predefinedRules = map[string]string{
"arstechnica.com": "div.post-content",
"bbc.co.uk": "div.vxp-column--single, div.story-body__inner, ul.gallery-images__list",
"blog.cloudflare.com": "div.post-content",
"cbc.ca": ".story-content",
Expand Down

0 comments on commit c6c71c5

Please sign in to comment.