Add scraper rule for darkreading.com
This commit is contained in:
parent
a52359fedb
commit
1d7fe892e1
1 changed files with 1 additions and 0 deletions
|
@ -8,6 +8,7 @@ package scraper
|
||||||
// domain => CSS selectors
|
// domain => CSS selectors
|
||||||
var predefinedRules = map[string]string{
|
var predefinedRules = map[string]string{
|
||||||
"cbc.ca": ".story-content",
|
"cbc.ca": ".story-content",
|
||||||
|
"darkreading.com": "#article-main:not(header)",
|
||||||
"developpez.com": "div[itemprop=articleBody]",
|
"developpez.com": "div[itemprop=articleBody]",
|
||||||
"francetvinfo.fr": ".text",
|
"francetvinfo.fr": ".text",
|
||||||
"github.com": "article.entry-content",
|
"github.com": "article.entry-content",
|
||||||
|
|
Loading…
Reference in a new issue