Преглед изворни кода

Update scraper rule for theregister.com

Frédéric Guillot пре 4 година
родитељ
комит
b7c229f30f
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      reader/scraper/rules.go

+ 1 - 1
reader/scraper/rules.go

@@ -36,7 +36,7 @@ var predefinedRules = map[string]string{
 	"slate.fr":             ".field-items",
 	"techcrunch.com":       "div.article-entry",
 	"theoatmeal.com":       "div#comic",
-	"theregister.co.uk":    "#body",
+	"theregister.com":      "#top-col-story h2, #body",
 	"turnoff.us":           "article.post-content",
 	"universfreebox.com":   "#corps_corps",
 	"version2.dk":          "section.body",