Compare commits
2 Commits
07c20f4582
...
f639545e9b
Author | SHA1 | Date | |
---|---|---|---|
f639545e9b | |||
18d7177099 |
@@ -80,7 +80,7 @@ func DownloadR(url string) error {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
var re = regexp.MustCompile(`[#!$%&/()";:?;,]`)
|
var re = regexp.MustCompile(`[#!$%&/()";:?;,|*]`)
|
||||||
|
|
||||||
func Sanitize(s string) string {
|
func Sanitize(s string) string {
|
||||||
s = strings.ReplaceAll(s, "&", "and")
|
s = strings.ReplaceAll(s, "&", "and")
|
||||||
|
@@ -35,7 +35,7 @@ func init() {
|
|||||||
log.Lmicroseconds|log.Lshortfile)
|
log.Lmicroseconds|log.Lshortfile)
|
||||||
}
|
}
|
||||||
|
|
||||||
const DOWNLOAD_WORKERS = 2
|
const DOWNLOAD_WORKERS = 1
|
||||||
|
|
||||||
type DLHandler struct{}
|
type DLHandler struct{}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user