ptt

package module
v0.9.1 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2025 License: MIT Imports: 4 Imported by: 0

README

Go Reference License

go-ptt

Parse Torrent Title

Acknowledgement

License

Licensed under the MIT License. Check the LICENSE file for details.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetPartialParser added in v0.8.0

func GetPartialParser(fieldNames []string) func(title string) *Result

func Version

func Version() ver

Types

type Result

type Result struct {
	Audio        []string
	BitDepth     string
	Channels     []string
	Codec        string
	Commentary   bool
	Complete     bool
	Container    string
	Convert      bool
	Date         string
	Documentary  bool
	Dubbed       bool
	Edition      string
	EpisodeCode  string
	Episodes     []int
	Extended     bool
	Extension    string
	Group        string
	HDR          []string
	Hardcoded    bool
	Languages    []string
	Network      string
	Proper       bool
	Quality      string
	ReleaseTypes []string
	Region       string
	Remastered   bool
	Repack       bool
	Resolution   string
	Retail       bool
	Seasons      []int
	Site         string
	Size         string
	Subbed       bool
	ThreeD       string
	Title        string
	Uncensored   bool
	Unrated      bool
	Upscaled     bool
	Volumes      []int
	Year         string
	// contains filtered or unexported fields
}

func Parse

func Parse(title string) *Result

func (*Result) Error added in v0.4.0

func (r *Result) Error() error

func (*Result) Normalize added in v0.2.0

func (r *Result) Normalize() *Result

Jump to

Keyboard shortcuts

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