mirror of
https://github.com/nxtrace/nali
synced 2024-11-21 16:49:39 +00:00
chore: Update qqwry.date download url
Signed-off-by: zu1k <i@zu1k.com>
This commit is contained in:
parent
12a5ac2b87
commit
c2a1ad8565
@ -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",
|
||||
|
@ -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")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user