rss

package
v0.0.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 4, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const RuleNamePrefix = "ADL-"

Variables

This section is empty.

Functions

func AddAndGetItems

func AddAndGetItems(url, path string) (*qbt.Item, error)

AddAndGetItems called only for finished items with rss type for now

func Download

func Download(adlr qbt.AutoDLRule, path string) (err error)

func GetItems

func GetItems(rssPath string) (*qbt.Item, error)

func GetMatchedArts

func GetMatchedArts(rssPath string) (arts []string, err error)

func RmRss

func RmRss(rssPath string) error

func SetAutoDLRule

func SetAutoDLRule(rssurl, categ, dlpath, rsspath string,
	enableFilter bool, contain, exclusion string) error

Types

type Parser

type Parser struct {
	Feed string
	// contains filtered or unexported fields
}
func (p *Parser) GetTitleAndLink() (title string, link string, err error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL