mirror of
https://github.com/nkanaev/yarr.git
synced 2025-09-13 18:00:05 +00:00
remove dead code
This commit is contained in:
@@ -20,20 +20,6 @@ type FeedSource struct {
|
|||||||
Url string `json:"url"`
|
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 {
|
type Client struct {
|
||||||
httpClient *http.Client
|
httpClient *http.Client
|
||||||
userAgent string
|
userAgent string
|
||||||
|
Reference in New Issue
Block a user