diff options
Diffstat (limited to 'summarize/wikipedia.go')
-rw-r--r-- | summarize/wikipedia.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/summarize/wikipedia.go b/summarize/wikipedia.go index c4a5050..f74c753 100644 --- a/summarize/wikipedia.go +++ b/summarize/wikipedia.go @@ -17,8 +17,8 @@ func Wikipedia(w fetch.Wiki) (notification.Notif, error) { // with other page types to get summary. switch w.Type { case "standard": - n.Title = fmt.Sprintf("%s - Wikipedia", w.Title) - n.Message = w.Description + n.Title = fmt.Sprintf("%s", w.Title) + n.Message = w.Extract default: err = fmt.Errorf("Summarizing wikipedia response failed") } |