Browse Source

Added scraper rule for TheOatmeal.com

The default rule does not show the comic posted to the feed. The comic image is in a div with id "comic".
Corey McCaffrey 5 years ago
parent
commit
0683074b8b
1 changed files with 1 additions and 0 deletions
  1. 1 0
      reader/scraper/rules.go

+ 1 - 0
reader/scraper/rules.go

@@ -34,6 +34,7 @@ var predefinedRules = map[string]string{
 	"raywenderlich.com":   "article",
 	"raywenderlich.com":   "article",
 	"slate.fr":            ".field-items",
 	"slate.fr":            ".field-items",
 	"techcrunch.com":      "div.article-entry",
 	"techcrunch.com":      "div.article-entry",
+	"theoatmeal.com":      "div#comic",
 	"theregister.co.uk":   "#body",
 	"theregister.co.uk":   "#body",
 	"universfreebox.com":  "#corps_corps",
 	"universfreebox.com":  "#corps_corps",
 	"version2.dk":         "section.body",
 	"version2.dk":         "section.body",