ainsleyclark/stock-informer

View on GitHub
crawl/scrape.go

Summary

Maintainability
A
35 mins
Test Coverage

Method scrape.Scrape has 5 return statements (exceeds 4 allowed).
Open

func (s *scrape) Scrape(uri string, selector string) (string, error) {
    const op = "Scraper.Scrape"

    response, err := s.client.Do(uri, http.MethodGet)
    if err != nil {
Severity: Major
Found in crawl/scrape.go - About 35 mins to fix

    There are no issues that match your filters.

    Category
    Status