Documentation ¶
Index ¶
Constants ¶
View Source
const PDFExtension = ".pdf"
PDFExtension ...
Variables ¶
This section is empty.
Functions ¶
func PrintArticlePageToPDF ¶
func PrintArticlePageToPDF(ctx context.Context, aid int, dir, title string, cookies []*http.Cookie, downloadComments bool, printPDFWaitSeconds int, printPDFTimeoutSeconds int, overwrite bool, ) (bool, error)
PrintArticlePageToPDF use chromedp to print article page and save
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.