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

Addition of scraper rule for wdwnt.com

By default fetching original content for wdwnt.com results in a snippet of the comments section, this rule captures the article content.
Andrew Williams 6 éve
szülő
commit
9974e0f458
1 módosított fájl, 1 hozzáadás és 0 törlés
  1. 1 0
      reader/scraper/rules.go

+ 1 - 0
reader/scraper/rules.go

@@ -36,6 +36,7 @@ var predefinedRules = map[string]string{
 	"theregister.co.uk":   "#body",
 	"universfreebox.com":  "#corps_corps",
 	"version2.dk":         "section.body",
+	"wdwnt.com":           "div.entry-content",
 	"wired.com":           "main figure, article",
 	"zeit.de":             ".summary, .article-body",
 	"zdnet.com":           "div.storyBody",