websites

package
v0.0.0-...-88f9238 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Sites = []string{"cnet", "codingdojo", "digitaltrends", "hackernews", "mashable", "medium"}

Functions

func ScrapeCnet

func ScrapeCnet(wg *sync.WaitGroup, channel chan<- []Blogs)

func ScrapeCodingdojo

func ScrapeCodingdojo(wg *sync.WaitGroup, channel chan<- []Blogs)

func ScrapeDigitaltrends

func ScrapeDigitaltrends(wg *sync.WaitGroup, channel chan<- []Blogs)

func ScrapeHackernews

func ScrapeHackernews(wg *sync.WaitGroup, channel chan<- []Blogs)

func ScrapeMashable

func ScrapeMashable(wg *sync.WaitGroup, channel chan<- []Blogs)

func ScrapeMedium

func ScrapeMedium(wg *sync.WaitGroup, channel chan<- []Blogs)

Types

type Blogs

type Blogs struct {
	Headline string `json:"headline"`
	Url      string `json:"link"`
	Site     string `json:"site"`
}

Jump to

Keyboard shortcuts

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