scraper

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2025 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run()

main function responsible for initializing the web scraping process. It sets up the logger, creates collector instances, defines URL and limits for the main collector, and specifies callback functions for HTML elements. It initiates the web scraping process by visiting the initial URL and waits for the wait group to finish before printing "DONE" to the console and saving the collected data to a JSON file using the saveToJSON function.

Types

type Config

type Config struct {
	Login    string
	Password string
	Proxys   []string
}

Jump to

Keyboard shortcuts

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