scrape

package
v0.0.0-...-12f948b Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DownloadFile

func DownloadFile(filepath string, url string) (err error)

func ReadScrape

func ReadScrape(file_path string) (ret interface{}, err error)

Types

type Files

type Files struct {
	Hash                             string
	Downloaded, Complete, Incomplete int64
}

func FilesConstructMap

func FilesConstructMap(raw interface{}) []Files

func GetScrapeByInfoHash

func GetScrapeByInfoHash(filepath string, url string, hash string) (err error, mp []Files)

hash from psql url to scrape

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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