This commit is contained in:
zu1k
2020-08-13 08:27:30 +08:00
parent 7db05c31d0
commit 1a6ad785e6

View File

@@ -1,6 +1,7 @@
package app
import (
"fmt"
"io/ioutil"
"log"
"math/rand"
@@ -68,6 +69,7 @@ func CrawlGo() {
}
func FetchNewConfigFileThenInit() {
fmt.Println("fetch new config file...")
resp, err := tool.GetHttpClient().Get("https://raw.githubusercontent.com/zu1k/proxypool/master/source.yaml")
if err != nil {
return