Documentation ¶
Index ¶
- func GetFileExt(fileData []byte) string
- func ScrapeWebpageHTML(doc *goquery.Document) (string, error)
- func ScrapeWebpageHTMLToMarkdown(html string) (string, error)
- func ScrapeWebpageTitle(doc *goquery.Document) string
- func WriteField(writer *multipart.Writer, key string, value string)
- func WriteFile(writer *multipart.Writer, fileName string, fileData []byte) error
- type HTTPClient
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetFileExt ¶
func ScrapeWebpageHTML ¶
ScrapeWebpageHTML scrape the HTML content of a webpage
func ScrapeWebpageHTMLToMarkdown ¶
ScrapeWebpageHTMLToMarkdown converts an HTML string to Markdown format
func ScrapeWebpageTitle ¶
ScrapeWebpageTitle extracts and returns the title from the *goquery.Document
Types ¶
Click to show internal directories.
Click to hide internal directories.