remove dead code

This commit is contained in:
Nazar Kanaev 2021-03-19 00:31:07 +00:00
parent 9f376db0f4
commit aaf0b702a3

View File

@ -20,20 +20,6 @@ type FeedSource struct {
Url string `json:"url"`
}
const feedLinks = `
link[type='application/rss+xml'],
link[type='application/atom+xml'],
a[href$="/feed"],
a[href$="/feed/"],
a[href$="feed.xml"],
a[href$="atom.xml"],
a[href$="rss.xml"],
a:contains("rss"),
a:contains("RSS"),
a:contains("feed"),
a:contains("FEED")
`
type Client struct {
httpClient *http.Client
userAgent string