Explorar el Código

feat: add predefined scraper rules for `arstechnica.com`

3zero2 hace 1 año
padre
commit
c6c71c58b8
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      internal/reader/scraper/rules.go

+ 1 - 0
internal/reader/scraper/rules.go

@@ -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",