scraper

package
v0.8.9 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TrendingDeveloperScraper

type TrendingDeveloperScraper struct {
	// contains filtered or unexported fields
}

func NewTrendingDeveloperScraper

func NewTrendingDeveloperScraper(trendingDeveloperRepo *model.TrendingDeveloperRepo) *TrendingDeveloperScraper

func (*TrendingDeveloperScraper) GetType

func (ds *TrendingDeveloperScraper) GetType() string

Get the scraper type.

func (*TrendingDeveloperScraper) Scrape

func (ds *TrendingDeveloperScraper) Scrape(ctx context.Context, language string) error

Scrape and save trending developers to DB.

type TrendingRepositoryScraper

type TrendingRepositoryScraper struct {
	// contains filtered or unexported fields
}

func NewTrendingRepositoryScraper

func NewTrendingRepositoryScraper(trendRepo *model.TrendingRepositoryRepo) *TrendingRepositoryScraper

func (*TrendingRepositoryScraper) GetType

func (gh *TrendingRepositoryScraper) GetType() string

func (*TrendingRepositoryScraper) Scrape

func (gh *TrendingRepositoryScraper) Scrape(ctx context.Context, language string) error

Jump to

Keyboard shortcuts

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