Documentation
¶
Index ¶
- Constants
- func AddAndGetItems(url, path string) (*qbt.Item, error)
- func Download(adlr qbt.AutoDLRule, path string) (err error)
- func GetItems(rssPath string) (*qbt.Item, error)
- func GetMatchedArts(rssPath string) (arts []string, err error)
- func RmRss(rssPath string) error
- func SetAutoDLRule(rssurl, categ, dlpath, rsspath string, enableFilter bool, ...) error
- type FilterFunc
- type Item
- type Parser
- type Reader
Constants ¶
View Source
const RuleNamePrefix = "ADL-"
Variables ¶
This section is empty.
Functions ¶
func AddAndGetItems ¶
AddAndGetItems called only for finished items with rss type for now
func GetMatchedArts ¶
Types ¶
type FilterFunc ¶ added in v0.0.8
type Reader ¶ added in v0.0.8
type Reader struct {
// contains filtered or unexported fields
}
Reader represents an RSS feed reader that parses and filters feed items. It contains a parser for RSS feeds, the feed URL, a map to track processed item GUIDs, and a filter function to apply custom filtering logic to feed items.
Click to show internal directories.
Click to hide internal directories.