sscraper

package module
v1.10.0 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2026 License: MIT Imports: 12 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

sscaper is a simple package scraper that help you easliy scrape data from any site for use of this package, you need change some codes that it's fit for you.

how to use of functions described in doc.go and source files.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decoder added in v1.0.4

func Decoder[T any](filename string) ([]T, error)

func Encoding_data

func Encoding_data(data any) []byte

func FaToint added in v1.0.3

func FaToint(string1 string) int

func MyQuery

func MyQuery(url string, wfind string, myfunc func(i int, s *goquery.Selection)) error

func Myfile

func Myfile(filename string) (io.ReadCloser, error)

func Myhtml

func Myhtml(body io.ReadCloser, names *string)

func Myhttp

func Myhttp(url string) (io.ReadCloser, error)

func SaveOnFile

func SaveOnFile(data any, filename string) error

func SendMail

func SendMail(text_mail string, subject string, sender string, reciver string, token string) error

func Sq

func Sq[T any](data1 []T, filename string, queryCreateTable string, queryInsertRecord string, insertData ...any) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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