Documentation ¶
Index ¶
- Variables
- func GetFeed(url string) *gofeed.Feed
- 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 Dmhy
- type MagnetItem
- type MagnetSite
- type Mikanani
- type Nyaa
- type RssConfig
Constants ¶
This section is empty.
Variables ¶
View Source
var (
RssConfigDict map[string][]RssConfig
)
Functions ¶
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 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.