Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckUrlExist ¶
check item with the supplied url exist or not if exist, return it's id
func RunWithTimeOut ¶
func ScrapeHtml ¶
scrape HTML using colly (not finished)
Types ¶
type ScrapeData ¶
type ScrapeData struct { Name string Sku string OriginalPrice int DiscountPrice int DiscountPercentage int }
func ScrapeJsSite ¶
func ScrapeJsSite(url string, selector map[string]string) (ScrapeData, error)
scrape js site using chromedp
Click to show internal directories.
Click to hide internal directories.