mirror of
https://github.com/nkanaev/yarr.git
synced 2025-05-24 00:33:14 +00:00
remove dead code
This commit is contained in:
parent
9f376db0f4
commit
aaf0b702a3
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user