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 ¶
Click to show internal directories.
Click to hide internal directories.