Forráskód Böngészése

Added scraper rule for dilbert.com and turnoff.us

Manuel Müller 5 éve
szülő
commit
ca918bc7e3
1 módosított fájl, 2 hozzáadás és 0 törlés
  1. 2 0
      reader/scraper/rules.go

+ 2 - 0
reader/scraper/rules.go

@@ -11,6 +11,7 @@ var predefinedRules = map[string]string{
 	"cbc.ca":              ".story-content",
 	"darkreading.com":     "#article-main:not(header)",
 	"developpez.com":      "div[itemprop=articleBody]",
+	"dilbert.com":         "span.comic-title-name, img.img-comic",
 	"financialsamurai.com": "article",
 	"francetvinfo.fr":     ".text",
 	"github.com":          "article.entry-content",
@@ -37,6 +38,7 @@ var predefinedRules = map[string]string{
 	"techcrunch.com":      "div.article-entry",
 	"theoatmeal.com":      "div#comic",
 	"theregister.co.uk":   "#body",
+	"turnoff.us":          "article.post-content",
 	"universfreebox.com":  "#corps_corps",
 	"version2.dk":         "section.body",
 	"wdwnt.com":           "div.entry-content",