Documentation
¶
Index ¶
Constants ¶
View Source
const DefaultAmazonURL = "https://www.amazon.com"
Variables ¶
View Source
var ( DefaultClient = &Client{ client: http.DefaultClient, amazonUrl: utils.CloneURL(defaultAmazonURL), } )
Functions ¶
This section is empty.
Types ¶
type Book ¶
type Book struct {
ASIN string
Format string
Title string
Author string
Cover string
PublishDate *time.Time
}
func BookFromHTML ¶
BookFromHTML parses a book from the html of a result on the search results page. If a result is not for a book, nil will is returned.
Click to show internal directories.
Click to hide internal directories.