webscrape

package
v0.0.13-alpha Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 5, 2022 License: GPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddFileToIpfs

func AddFileToIpfs(filePath string) (string, error)

AddFileToIpfs adds the specified file to IPFS and returns hash

func AddToIpfs

func AddToIpfs(r io.Reader) (string, error)

func CheckDomain

func CheckDomain(basePath string, domain string) (err error)

CheckDomain if the domain exists, write its content to a file else return error

func FullScreenshot

func FullScreenshot(urlstr string, quality int64, res *[]byte) chromedp.Tasks

func GetObjectFromIpfs

func GetObjectFromIpfs(Hash string, filePath string) error

GetObjectFromIpfs get object from ipfs and writes to the specified file

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL