custom

package
v0.0.0-...-4fa1762 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const ForksOverKnivesHost = "forksoverknives.com"
View Source
const LoveAndOtherSpicesHost = "loveandotherspices.com"
View Source
const MinimalistBakerHost = "minimalistbaker.com"

Variables

This section is empty.

Functions

func NewForksOverKnivesScraper

func NewForksOverKnivesScraper(doc *goquery.Document) (recipe.Scraper, error)

NewForksOverKnivesScraper returns a new instance of ForksOverKnivesScraper.

func NewLoveAndOtherSpicesScraper

func NewLoveAndOtherSpicesScraper(doc *goquery.Document) (recipe.Scraper, error)

NewLoveAndOtherSpicesScraper returns a new instance of LoveAndOtherSpicesScraper.

func NewMinimalistBakerScraper

func NewMinimalistBakerScraper(doc *goquery.Document) (recipe.Scraper, error)

NewMinimalistBakerScraper returns a new instance of MinimalistBakerScraper.

Types

type ForksOverKnivesScraper

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

ForksOverKnivesScraper is a custom recipe scraper for forksoverknives.com.

func (*ForksOverKnivesScraper) Author

func (m *ForksOverKnivesScraper) Author() (string, bool)

func (*ForksOverKnivesScraper) Categories

func (m *ForksOverKnivesScraper) Categories() ([]string, bool)

func (*ForksOverKnivesScraper) CookTime

func (m *ForksOverKnivesScraper) CookTime() (time.Duration, bool)

func (*ForksOverKnivesScraper) Cuisine

func (m *ForksOverKnivesScraper) Cuisine() ([]string, bool)

func (*ForksOverKnivesScraper) Description

func (m *ForksOverKnivesScraper) Description() (string, bool)

func (*ForksOverKnivesScraper) ImageURL

func (m *ForksOverKnivesScraper) ImageURL() (string, bool)

func (*ForksOverKnivesScraper) Ingredients

func (m *ForksOverKnivesScraper) Ingredients() ([]string, bool)

func (*ForksOverKnivesScraper) Instructions

func (m *ForksOverKnivesScraper) Instructions() ([]string, bool)

func (*ForksOverKnivesScraper) Language

func (m *ForksOverKnivesScraper) Language() (string, bool)

func (*ForksOverKnivesScraper) Name

func (m *ForksOverKnivesScraper) Name() (string, bool)

func (*ForksOverKnivesScraper) Nutrition

func (m *ForksOverKnivesScraper) Nutrition() (recipe.Nutrition, bool)

func (*ForksOverKnivesScraper) PrepTime

func (m *ForksOverKnivesScraper) PrepTime() (time.Duration, bool)

func (*ForksOverKnivesScraper) SuitableDiets

func (m *ForksOverKnivesScraper) SuitableDiets() ([]recipe.Diet, bool)

func (*ForksOverKnivesScraper) TotalTime

func (m *ForksOverKnivesScraper) TotalTime() (time.Duration, bool)

func (*ForksOverKnivesScraper) Yields

func (m *ForksOverKnivesScraper) Yields() (string, bool)

type LoveAndOtherSpicesScraper

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

LoveAndOtherSpicesScraper is a custom recipe scraper for loveandotherspices.com.

func (*LoveAndOtherSpicesScraper) Author

func (m *LoveAndOtherSpicesScraper) Author() (string, bool)

func (*LoveAndOtherSpicesScraper) Categories

func (m *LoveAndOtherSpicesScraper) Categories() ([]string, bool)

func (*LoveAndOtherSpicesScraper) CookTime

func (m *LoveAndOtherSpicesScraper) CookTime() (time.Duration, bool)

func (*LoveAndOtherSpicesScraper) Cuisine

func (m *LoveAndOtherSpicesScraper) Cuisine() ([]string, bool)

func (*LoveAndOtherSpicesScraper) Description

func (m *LoveAndOtherSpicesScraper) Description() (string, bool)

func (*LoveAndOtherSpicesScraper) ImageURL

func (m *LoveAndOtherSpicesScraper) ImageURL() (string, bool)

func (*LoveAndOtherSpicesScraper) Ingredients

func (m *LoveAndOtherSpicesScraper) Ingredients() ([]string, bool)

func (*LoveAndOtherSpicesScraper) Instructions

func (m *LoveAndOtherSpicesScraper) Instructions() ([]string, bool)

func (*LoveAndOtherSpicesScraper) Language

func (m *LoveAndOtherSpicesScraper) Language() (string, bool)

func (*LoveAndOtherSpicesScraper) Name

func (m *LoveAndOtherSpicesScraper) Name() (string, bool)

func (*LoveAndOtherSpicesScraper) Nutrition

func (m *LoveAndOtherSpicesScraper) Nutrition() (recipe.Nutrition, bool)

func (*LoveAndOtherSpicesScraper) PrepTime

func (m *LoveAndOtherSpicesScraper) PrepTime() (time.Duration, bool)

func (*LoveAndOtherSpicesScraper) SuitableDiets

func (m *LoveAndOtherSpicesScraper) SuitableDiets() ([]recipe.Diet, bool)

func (*LoveAndOtherSpicesScraper) TotalTime

func (m *LoveAndOtherSpicesScraper) TotalTime() (time.Duration, bool)

func (*LoveAndOtherSpicesScraper) Yields

func (m *LoveAndOtherSpicesScraper) Yields() (string, bool)

type MinimalistBakerScraper

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

MinimalistBakerScraper is a custom recipe scraper for minimalistbaker.com.

func (*MinimalistBakerScraper) Author

func (m *MinimalistBakerScraper) Author() (string, bool)

func (*MinimalistBakerScraper) Categories

func (m *MinimalistBakerScraper) Categories() ([]string, bool)

func (*MinimalistBakerScraper) CookTime

func (m *MinimalistBakerScraper) CookTime() (time.Duration, bool)

func (*MinimalistBakerScraper) Cuisine

func (m *MinimalistBakerScraper) Cuisine() ([]string, bool)

func (*MinimalistBakerScraper) Description

func (m *MinimalistBakerScraper) Description() (string, bool)

func (*MinimalistBakerScraper) ImageURL

func (m *MinimalistBakerScraper) ImageURL() (string, bool)

func (*MinimalistBakerScraper) Ingredients

func (m *MinimalistBakerScraper) Ingredients() ([]string, bool)

func (*MinimalistBakerScraper) Instructions

func (m *MinimalistBakerScraper) Instructions() ([]string, bool)

func (*MinimalistBakerScraper) Language

func (m *MinimalistBakerScraper) Language() (string, bool)

func (*MinimalistBakerScraper) Name

func (m *MinimalistBakerScraper) Name() (string, bool)

func (*MinimalistBakerScraper) Nutrition

func (m *MinimalistBakerScraper) Nutrition() (recipe.Nutrition, bool)

func (*MinimalistBakerScraper) PrepTime

func (m *MinimalistBakerScraper) PrepTime() (time.Duration, bool)

func (*MinimalistBakerScraper) SuitableDiets

func (m *MinimalistBakerScraper) SuitableDiets() ([]recipe.Diet, bool)

func (*MinimalistBakerScraper) TotalTime

func (m *MinimalistBakerScraper) TotalTime() (time.Duration, bool)

func (*MinimalistBakerScraper) Yields

func (m *MinimalistBakerScraper) Yields() (string, bool)

Jump to

Keyboard shortcuts

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