mirror of
https://github.com/nxtrace/nali
synced 2024-11-22 09:25:51 +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 (
|
import (
|
||||||
"github.com/zu1k/nali/pkg/cdn"
|
"github.com/zu1k/nali/pkg/cdn"
|
||||||
"github.com/zu1k/nali/pkg/ip2region"
|
"github.com/zu1k/nali/pkg/ip2region"
|
||||||
|
"github.com/zu1k/nali/pkg/qqwry"
|
||||||
)
|
)
|
||||||
|
|
||||||
func GetDefaultDBList() List {
|
func GetDefaultDBList() List {
|
||||||
@ -16,6 +17,7 @@ func GetDefaultDBList() List {
|
|||||||
File: "qqwry.dat",
|
File: "qqwry.dat",
|
||||||
Languages: LanguagesZH,
|
Languages: LanguagesZH,
|
||||||
Types: TypesIPv4,
|
Types: TypesIPv4,
|
||||||
|
DownloadUrls: qqwry.DownloadUrls,
|
||||||
},
|
},
|
||||||
&DB{
|
&DB{
|
||||||
Name: "zxipv6wry",
|
Name: "zxipv6wry",
|
||||||
|
@ -11,6 +11,10 @@ import (
|
|||||||
"github.com/zu1k/nali/pkg/common"
|
"github.com/zu1k/nali/pkg/common"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
var DownloadUrls = []string{
|
||||||
|
"https://99wry.cf/qqwry.dat",
|
||||||
|
}
|
||||||
|
|
||||||
func Download(filePath ...string) (data []byte, err error) {
|
func Download(filePath ...string) (data []byte, err error) {
|
||||||
fmt.Println("此方式更新的 QQWry 数据库版本过旧,请手动下载最新版纯真免费IP库: https://www.cz88.net/help")
|
fmt.Println("此方式更新的 QQWry 数据库版本过旧,请手动下载最新版纯真免费IP库: https://www.cz88.net/help")
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user