-
Notifications
You must be signed in to change notification settings - Fork 939
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
Update google #2229
Update google #2229
Conversation
您好,不止是这两个需要修改。 |
I may not be able to review this PR before this weekend, marking it as draft. |
@him007 如果是我理解的这样,我用python脚本处理了一下 google.china.conf import re
with open('/tmp/google.china.conf', 'r', encoding='utf-8') as file:
full_domain_name_list = []
lines = file.readlines()
for line in lines:
line_pattern = r'^server='
if re.match(line_pattern, line):
server_info = line.split(r'/')
full_domain_name_pattern = r'^www\.'
if re.match(full_domain_name_pattern, server_info[1]):
# Full domain name
full_domain_name_list.append("full:" + server_info[1].strip() + " @cn")
else:
print(f"{server_info[1]} @cn")
# Output full domain name
print('\n'.join(full_domain_name_list)) 结果如下,所以这些都要替换
|
这个 PR 的改动很小,而且可以肯定这两个域名应该要走子域名匹配。先合并 |
* https://github.com/v2fly/domain-list-community: Update cnet (v2fly#2257) Update google (v2fly#2229) Update sony (v2fly#2250) add codeberg (v2fly#2254) Update google (v2fly#2262) Update (v2fly#2241) Update purikonejp (v2fly#2248) Update aws & aws-cn (v2fly#2267) add wistia to geolocation-!cn (v2fly#2245) Add Haier (v2fly#2244) Create `category-ru` (v2fly#2242) Add kucoin.com (v2fly#2226) Add more ntp servers (v2fly#2243) Update category-porn (v2fly#2261) Add yuanbei & Update geo-cn (v2fly#2240)
* Update google fix v2fly#2228 * Update google --------- Co-authored-by: IceCodeNew <[email protected]>
fix #2228