From 1d7fe892e1016785e6f9f60e25d2a5b9b25766e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Guillot?= Date: Sat, 6 Jan 2018 13:25:12 -0800 Subject: [PATCH] Add scraper rule for darkreading.com --- reader/scraper/rules.go | 1 + 1 file changed, 1 insertion(+) diff --git a/reader/scraper/rules.go b/reader/scraper/rules.go index f988c244..7967869f 100644 --- a/reader/scraper/rules.go +++ b/reader/scraper/rules.go @@ -8,6 +8,7 @@ package scraper // domain => CSS selectors var predefinedRules = map[string]string{ "cbc.ca": ".story-content", + "darkreading.com": "#article-main:not(header)", "developpez.com": "div[itemprop=articleBody]", "francetvinfo.fr": ".text", "github.com": "article.entry-content",