mirror of
https://github.com/v2fly/domain-list-community.git
synced 2024-11-16 09:04:51 +02:00
update domains&tools (#1821)
* update data/bytedance * update data/kuaishou * update ecombdapi.com * update tools --------- Co-authored-by: local@localhost <local@localhost>
This commit is contained in:
parent
58cfa2704c
commit
d9c7ca5536
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,4 +1,5 @@
|
|||||||
.idea
|
.idea
|
||||||
|
.vscode
|
||||||
|
|
||||||
/domain-list-community
|
/domain-list-community
|
||||||
/domain-list-community.exe
|
/domain-list-community.exe
|
||||||
|
@ -3,7 +3,11 @@ include:fqnovel
|
|||||||
include:juejin
|
include:juejin
|
||||||
include:lark
|
include:lark
|
||||||
include:tiktok
|
include:tiktok
|
||||||
|
include:bytedance-ads
|
||||||
|
|
||||||
|
volcvod.com
|
||||||
|
volces.com
|
||||||
|
volceapplog.com
|
||||||
amemv.com
|
amemv.com
|
||||||
bytecdn.cn
|
bytecdn.cn
|
||||||
byted-static.com
|
byted-static.com
|
||||||
|
@ -1433,3 +1433,6 @@ runsheng.com
|
|||||||
vzuu.com
|
vzuu.com
|
||||||
zoom3g.com
|
zoom3g.com
|
||||||
zoomyou.cn
|
zoomyou.cn
|
||||||
|
|
||||||
|
# 沪ICP备2021017807号-4
|
||||||
|
ecombdapi.com
|
||||||
|
@ -4,5 +4,7 @@ gifshow.com
|
|||||||
ksapisrv.com
|
ksapisrv.com
|
||||||
kuaishou.com
|
kuaishou.com
|
||||||
yximgs.com
|
yximgs.com
|
||||||
|
kwaizt.com
|
||||||
|
kuaishouzt.com
|
||||||
|
|
||||||
include:kuaishou-ads
|
include:kuaishou-ads
|
||||||
|
5
main.go
5
main.go
@ -5,7 +5,6 @@ import (
|
|||||||
"errors"
|
"errors"
|
||||||
"flag"
|
"flag"
|
||||||
"fmt"
|
"fmt"
|
||||||
"io/ioutil"
|
|
||||||
"os"
|
"os"
|
||||||
"path/filepath"
|
"path/filepath"
|
||||||
"sort"
|
"sort"
|
||||||
@ -53,7 +52,7 @@ func (l *ParsedList) toPlainText(listName string) error {
|
|||||||
// Entry output format is: type:domain.tld:@attr1,@attr2
|
// Entry output format is: type:domain.tld:@attr1,@attr2
|
||||||
entryBytes = append(entryBytes, []byte(entry.Type+":"+entry.Value+attrString+"\n")...)
|
entryBytes = append(entryBytes, []byte(entry.Type+":"+entry.Value+attrString+"\n")...)
|
||||||
}
|
}
|
||||||
if err := ioutil.WriteFile(filepath.Join(*outputDir, listName+".txt"), entryBytes, 0644); err != nil {
|
if err := os.WriteFile(filepath.Join(*outputDir, listName+".txt"), entryBytes, 0644); err != nil {
|
||||||
return fmt.Errorf(err.Error())
|
return fmt.Errorf(err.Error())
|
||||||
}
|
}
|
||||||
return nil
|
return nil
|
||||||
@ -383,7 +382,7 @@ func main() {
|
|||||||
fmt.Println("Failed:", err)
|
fmt.Println("Failed:", err)
|
||||||
os.Exit(1)
|
os.Exit(1)
|
||||||
}
|
}
|
||||||
if err := ioutil.WriteFile(filepath.Join(*outputDir, *outputName), protoBytes, 0644); err != nil {
|
if err := os.WriteFile(filepath.Join(*outputDir, *outputName), protoBytes, 0644); err != nil {
|
||||||
fmt.Println("Failed: ", err)
|
fmt.Println("Failed: ", err)
|
||||||
os.Exit(1)
|
os.Exit(1)
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user