-
Notifications
You must be signed in to change notification settings - Fork 788
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
generate gfwlist.txt #215
generate gfwlist.txt #215
Conversation
I think it's better to move this code block outside the for loop: if refName == "GEOLOCATION-!CN" {
if err := pl.toGfwList(); err != nil {
fmt.Println("Failed: ", err)
}
} And then rename the func The following code case "keyword":
entryBytes = append(entryBytes, []byte(entry.Type+entry.Value+"\n")...) is missing a string separator between type and value. I wonder if GFWList supports keyword? |
Fix |
domain 转换成 ||
full 转换成 |http:// 和 |https://
keyword 直接输出
regex 转换成 /....../
TIP git squash