Documentation ¶
Index ¶
- Constants
- func NewForksOverKnivesScraper(doc *goquery.Document) (recipe.Scraper, error)
- func NewLoveAndOtherSpicesScraper(doc *goquery.Document) (recipe.Scraper, error)
- func NewMinimalistBakerScraper(doc *goquery.Document) (recipe.Scraper, error)
- type ForksOverKnivesScraper
- func (m *ForksOverKnivesScraper) Author() (string, bool)
- func (m *ForksOverKnivesScraper) Categories() ([]string, bool)
- func (m *ForksOverKnivesScraper) CookTime() (time.Duration, bool)
- func (m *ForksOverKnivesScraper) Cuisine() ([]string, bool)
- func (m *ForksOverKnivesScraper) Description() (string, bool)
- func (m *ForksOverKnivesScraper) ImageURL() (string, bool)
- func (m *ForksOverKnivesScraper) Ingredients() ([]string, bool)
- func (m *ForksOverKnivesScraper) Instructions() ([]string, bool)
- func (m *ForksOverKnivesScraper) Language() (string, bool)
- func (m *ForksOverKnivesScraper) Name() (string, bool)
- func (m *ForksOverKnivesScraper) Nutrition() (recipe.Nutrition, bool)
- func (m *ForksOverKnivesScraper) PrepTime() (time.Duration, bool)
- func (m *ForksOverKnivesScraper) SuitableDiets() ([]recipe.Diet, bool)
- func (m *ForksOverKnivesScraper) TotalTime() (time.Duration, bool)
- func (m *ForksOverKnivesScraper) Yields() (string, bool)
- type LoveAndOtherSpicesScraper
- func (m *LoveAndOtherSpicesScraper) Author() (string, bool)
- func (m *LoveAndOtherSpicesScraper) Categories() ([]string, bool)
- func (m *LoveAndOtherSpicesScraper) CookTime() (time.Duration, bool)
- func (m *LoveAndOtherSpicesScraper) Cuisine() ([]string, bool)
- func (m *LoveAndOtherSpicesScraper) Description() (string, bool)
- func (m *LoveAndOtherSpicesScraper) ImageURL() (string, bool)
- func (m *LoveAndOtherSpicesScraper) Ingredients() ([]string, bool)
- func (m *LoveAndOtherSpicesScraper) Instructions() ([]string, bool)
- func (m *LoveAndOtherSpicesScraper) Language() (string, bool)
- func (m *LoveAndOtherSpicesScraper) Name() (string, bool)
- func (m *LoveAndOtherSpicesScraper) Nutrition() (recipe.Nutrition, bool)
- func (m *LoveAndOtherSpicesScraper) PrepTime() (time.Duration, bool)
- func (m *LoveAndOtherSpicesScraper) SuitableDiets() ([]recipe.Diet, bool)
- func (m *LoveAndOtherSpicesScraper) TotalTime() (time.Duration, bool)
- func (m *LoveAndOtherSpicesScraper) Yields() (string, bool)
- type MinimalistBakerScraper
- func (m *MinimalistBakerScraper) Author() (string, bool)
- func (m *MinimalistBakerScraper) Categories() ([]string, bool)
- func (m *MinimalistBakerScraper) CookTime() (time.Duration, bool)
- func (m *MinimalistBakerScraper) Cuisine() ([]string, bool)
- func (m *MinimalistBakerScraper) Description() (string, bool)
- func (m *MinimalistBakerScraper) ImageURL() (string, bool)
- func (m *MinimalistBakerScraper) Ingredients() ([]string, bool)
- func (m *MinimalistBakerScraper) Instructions() ([]string, bool)
- func (m *MinimalistBakerScraper) Language() (string, bool)
- func (m *MinimalistBakerScraper) Name() (string, bool)
- func (m *MinimalistBakerScraper) Nutrition() (recipe.Nutrition, bool)
- func (m *MinimalistBakerScraper) PrepTime() (time.Duration, bool)
- func (m *MinimalistBakerScraper) SuitableDiets() ([]recipe.Diet, bool)
- func (m *MinimalistBakerScraper) TotalTime() (time.Duration, bool)
- func (m *MinimalistBakerScraper) Yields() (string, bool)
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 ¶
NewForksOverKnivesScraper returns a new instance of ForksOverKnivesScraper.
func NewLoveAndOtherSpicesScraper ¶
NewLoveAndOtherSpicesScraper returns a new instance of LoveAndOtherSpicesScraper.
func NewMinimalistBakerScraper ¶
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)
Click to show internal directories.
Click to hide internal directories.