chore: Update qqwry.date download url

Signed-off-by: zu1k <i@zu1k.com>
This commit is contained in:
zu1k 2022-07-21 10:36:47 +08:00
parent 12a5ac2b87
commit c2a1ad8565
2 changed files with 10 additions and 4 deletions

View File

@ -3,6 +3,7 @@ package db
import (
"github.com/zu1k/nali/pkg/cdn"
"github.com/zu1k/nali/pkg/ip2region"
"github.com/zu1k/nali/pkg/qqwry"
)
func GetDefaultDBList() List {
@ -12,10 +13,11 @@ func GetDefaultDBList() List {
NameAlias: []string{
"chunzhen",
},
Format: FormatQQWry,
File: "qqwry.dat",
Languages: LanguagesZH,
Types: TypesIPv4,
Format: FormatQQWry,
File: "qqwry.dat",
Languages: LanguagesZH,
Types: TypesIPv4,
DownloadUrls: qqwry.DownloadUrls,
},
&DB{
Name: "zxipv6wry",

View File

@ -11,6 +11,10 @@ import (
"github.com/zu1k/nali/pkg/common"
)
var DownloadUrls = []string{
"https://99wry.cf/qqwry.dat",
}
func Download(filePath ...string) (data []byte, err error) {
fmt.Println("此方式更新的 QQWry 数据库版本过旧请手动下载最新版纯真免费IP库: https://www.cz88.net/help")