Discover Packages
github.com/gotoronto/rnd-workshop
lib
scraper
package
Version:
v0.0.0-...-c1b7209
Opens a new window with list of versions in this module.
Published: Aug 31, 2022
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
type Scraper struct {
Responses chan []string
}
Scraper is responsible for scraping a website
New will create a new scraper
Scrape will perform a GET request to fetch an html page and scrape it for links.
These links will be returned as a string array. If there was an error while
requesting it will be returned as well
Source Files
¶
Click to show internal directories.
Click to hide internal directories.