pkg

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: May 2, 2025 License: MIT Imports: 12 Imported by: 0

Documentation

Overview

pkg contains helper methods for collecting, parsing, validating the urls and more

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetHtmlTitle

func GetHtmlTitle(r io.Reader) (string, bool, error)

Types

type FFDownloader

type FFDownloader struct {
	// contains filtered or unexported fields
}

func NewFF

func NewFF(pageUrl string, spinner *mpb.Bar) (*FFDownloader, error)

func (*FFDownloader) Download

func (ff *FFDownloader) Download(path string, bar *mpb.Bar) error

func (*FFDownloader) DownloadUrl

func (ff *FFDownloader) DownloadUrl() string

func (*FFDownloader) FileName

func (ff *FFDownloader) FileName() string

func (*FFDownloader) IsValid

func (ff *FFDownloader) IsValid() bool

func (*FFDownloader) PageUrl

func (ff *FFDownloader) PageUrl() string

Jump to

Keyboard shortcuts

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