func Scrape(url string) string {
	re := regexp.MustCompile(`([\w-]+)\/([\w-]+$)`)
	match := re.FindStringSubmatch(url)
	program := match[2]
	endpoint := "https://api.yeswehack.com/programs/" + program
	scope = nil
	resp, status := req.GET(endpoint)
	if status != 200 {
		errors.BadStatusCode(url, status)
	}
	m := map[string]interface{}{}
	err := json.Unmarshal([]byte(resp), &m)
	_ = err
	if err != nil {
		errors.BadJSON()
	}
	parseMap(m)
	if scope == nil {
		errors.NoScope(url)
	}
	return strings.Join(scope, "\n")
}
Scrape tries to grab scope table for a given program on yeswehack.com
package yeswehack
import (
	"encoding/json"
	"fmt"
	"regexp"
	"strings"
	errors "github.com/root4loot/rescope/internal/bbaas/pkg/errors"
	req "github.com/root4loot/rescope/internal/bbaas/pkg/request"
)
var scope []string