// Command splash extracts the original app's ios splash screens into web/static/brand/splash. package main import ( "fmt" "io" "log" "net/http" "net/url" "os" "regexp" "strings" ) func main() { raw, err := os.ReadFile("screenshots/brand/page-source.html") if err != nil { log.Fatalf("[ERROR] read page source: %v", err) } blobs := regexp.MustCompile(`decodeURIComponent\("([^"]+)"\)`).FindAllStringSubmatch(string(raw), -1) links := [][]string{} linkRE := regexp.MustCompile(`\n", media, name) } }