Compare commits

..

2 Commits

Author SHA1 Message Date
f639545e9b Add more shit to strip 2024-11-12 11:29:11 +01:00
18d7177099 Less workers more better? 2024-11-12 10:51:03 +01:00
2 changed files with 2 additions and 2 deletions

View File

@@ -80,7 +80,7 @@ func DownloadR(url string) error {
return nil
}
var re = regexp.MustCompile(`[#!$%&/()";:?;,]`)
var re = regexp.MustCompile(`[#!$%&/()";:?;,|*]`)
func Sanitize(s string) string {
s = strings.ReplaceAll(s, "&", "and")

View File

@@ -35,7 +35,7 @@ func init() {
log.Lmicroseconds|log.Lshortfile)
}
const DOWNLOAD_WORKERS = 2
const DOWNLOAD_WORKERS = 1
type DLHandler struct{}