Merged
Conversation
Contributor
|
您好,不止是这两个需要修改。 |
Collaborator
|
I may not be able to review this PR before this weekend, marking it as draft. |
Contributor
|
@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))结果如下,所以这些都要替换 |
Merged
IceCodeNew
approved these changes
Jul 26, 2024
Collaborator
|
这个 PR 的改动很小,而且可以肯定这两个域名应该要走子域名匹配。先合并 |
github-actions bot
added a commit
to YW5vbnltb3Vz/domain-list-community
that referenced
this pull request
Jul 26, 2024
* 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)
Lsyx-Good
pushed a commit
to Lsyx-Good/domain-list-community
that referenced
this pull request
Aug 7, 2024
* Update google fix v2fly#2228 * Update google --------- Co-authored-by: IceCodeNew <32576256+IceCodeNew@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
fix #2228