Documentation
¶
Index ¶
- Variables
- func GetFeed(url string) *gofeed.Feed
- func GetMagnetByEnclosure(item *gofeed.Item) string
- func GetMagnetsFromText(textFile string) ([]string, error)
- func HasPrefix(str string, prefixArr []string) bool
- func ReadRssConfigDict() *map[string][]RssConfig
- func SetRssJsonPath(p string)
- type Acgnx
- type Anibt
- type Dmhy
- type MagnetItem
- type MagnetSite
- type Mikanani
- type Nyaa
- type RssConfig
- type Rsshub
Constants ¶
This section is empty.
Variables ¶
View Source
var (
RssConfigDict map[string][]RssConfig
)
Functions ¶
func GetMagnetByEnclosure ¶ added in v0.1.7
func GetMagnetsFromText ¶
func ReadRssConfigDict ¶
func SetRssJsonPath ¶
func SetRssJsonPath(p string)
Types ¶
type Acgnx ¶ added in v0.1.4
type Acgnx struct {
}
func (*Acgnx) GetMagnetItem ¶ added in v0.1.4
func (a *Acgnx) GetMagnetItem(item *gofeed.Item) MagnetItem
type Anibt ¶ added in v0.2.3
type Anibt struct {
}
func (*Anibt) GetMagnetItem ¶ added in v0.2.3
func (r *Anibt) GetMagnetItem(item *gofeed.Item) MagnetItem
type Dmhy ¶
type Dmhy struct {
}
func (*Dmhy) GetMagnetItem ¶
func (d *Dmhy) GetMagnetItem(item *gofeed.Item) MagnetItem
type MagnetItem ¶
type MagnetItem struct {
Title string `json:"title"`
Link string `json:"link"`
Magnet string `json:"magnet"`
Description string `json:"description"`
Content string `json:"content"`
}
func GetMagnetItemList ¶
func GetMagnetItemList(config *RssConfig) []MagnetItem
type MagnetSite ¶
type Mikanani ¶
type Mikanani struct{}
func (*Mikanani) GetMagnetItem ¶
func (m *Mikanani) GetMagnetItem(item *gofeed.Item) MagnetItem
type Nyaa ¶
type Nyaa struct {
}
func (*Nyaa) GetMagnetItem ¶
func (n *Nyaa) GetMagnetItem(item *gofeed.Item) MagnetItem
Click to show internal directories.
Click to hide internal directories.