Skip to content

Commit

Permalink
test: update_hosts.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
sinspired committed Nov 29, 2024
1 parent 03353df commit 96a2070
Show file tree
Hide file tree
Showing 3 changed files with 53 additions and 91 deletions.
73 changes: 27 additions & 46 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,69 +30,50 @@

```bash

# cnNetTool Start in 2024-11-29 20:44:14 +08:00
# cnNetTool Start in 2024-11-29 20:50:29 +08:00
140.82.112.26 alive.github.com
140.82.113.21 central.github.com
140.82.112.10 codeload.github.com
140.82.112.21 collector.github.com
140.82.112.3 gist.github.com
140.82.113.3 github.com
151.101.1.194 github.global.ssl.fastly.net
52.217.197.113 github-com.s3.amazonaws.com
52.216.34.169 github-production-release-asset-2e65be.s3.amazonaws.com
151.101.129.194 github.global.ssl.fastly.net
16.182.107.17 github-com.s3.amazonaws.com
52.216.208.105 github-production-release-asset-2e65be.s3.amazonaws.com
140.82.114.25 live.github.com
13.107.42.16 pipelines.actions.githubusercontent.com
185.199.110.154 github.githubassets.com
185.199.111.153 github.io
185.199.111.153 githubstatus.com
185.199.111.153 assets-cdn.github.com
185.199.111.133 avatars.githubusercontent.com
185.199.111.133 avatars0.githubusercontent.com
185.199.111.133 avatars1.githubusercontent.com
185.199.111.133 avatars2.githubusercontent.com
185.199.111.133 avatars3.githubusercontent.com
185.199.111.133 avatars4.githubusercontent.com
185.199.111.133 avatars5.githubusercontent.com
185.199.111.133 camo.githubusercontent.com
185.199.111.133 cloud.githubusercontent.com
185.199.111.133 desktop.githubusercontent.com
185.199.111.133 favicons.githubusercontent.com
185.199.111.133 github.map.fastly.net
185.199.111.133 media.githubusercontent.com
185.199.111.133 objects.githubusercontent.com
185.199.111.133 private-user-images.githubusercontent.com
185.199.111.133 raw.githubusercontent.com
185.199.111.133 user-images.githubusercontent.com
99.84.108.50 tmdb.org
99.84.108.50 api.tmdb.org
99.84.108.50 files.tmdb.org
52.85.151.18 themoviedb.org
52.85.151.18 api.themoviedb.org
52.85.151.18 www.themoviedb.org
52.85.151.18 auth.themoviedb.org
169.150.236.97 image.tmdb.org
169.150.236.97 images.tmdb.org
52.94.225.248 imdb.com
52.94.228.167 secure.imdb.com
185.199.110.153 github.io
185.199.110.153 githubstatus.com
185.199.110.153 assets-cdn.github.com
99.84.108.29 tmdb.org
99.84.108.29 api.tmdb.org
99.84.108.29 files.tmdb.org
52.85.151.24 themoviedb.org
52.85.151.24 api.themoviedb.org
52.85.151.24 www.themoviedb.org
52.85.151.24 auth.themoviedb.org
169.150.236.100 image.tmdb.org
169.150.236.100 images.tmdb.org
52.94.228.167 imdb.com
3.168.35.144 www.imdb.com
18.67.59.121 s.media-imdb.com
52.94.225.248 us.dd.imdb.com
151.101.1.16 m.media-amazon.com
151.101.129.16 Images-na.ssl-images-amazon.com
151.101.129.16 m.media-amazon.com
151.101.1.16 Images-na.ssl-images-amazon.com
13.32.177.205 images-fe.ssl-images-amazon.com
172.217.31.168 translate.google.com
172.217.31.168 translate.googleapis.com
172.217.31.168 translate-pa.googleapis.com
52.85.151.126 plugins.jetbrains.com
52.85.151.126 download.jetbrains.com
52.85.151.126 cache-redirector.jetbrains.com

# Update time: 2024-11-29 20:44:14 +08:00
173.223.163.218 ia.media-imdb.com
216.58.200.10 translate.google.com
216.58.200.10 translate.googleapis.com
216.58.200.10 translate-pa.googleapis.com

# Update time: 2024-11-29 20:50:29 +08:00
# GitHub仓库: https://github.com/sinspired/cnNetTool
# cnNetTool End

```

以上内容会自动定时更新, 数据更新时间:2024-11-29 20:44:14 +08:00
以上内容会自动定时更新, 数据更新时间:2024-11-29 20:50:29 +08:00

#### 1.2.2 修改 hosts 文件

Expand Down
69 changes: 25 additions & 44 deletions hosts
Original file line number Diff line number Diff line change
@@ -1,60 +1,41 @@

# cnNetTool Start in 2024-11-29 20:44:14 +08:00
# cnNetTool Start in 2024-11-29 20:50:29 +08:00
140.82.112.26 alive.github.com
140.82.113.21 central.github.com
140.82.112.10 codeload.github.com
140.82.112.21 collector.github.com
140.82.112.3 gist.github.com
140.82.113.3 github.com
151.101.1.194 github.global.ssl.fastly.net
52.217.197.113 github-com.s3.amazonaws.com
52.216.34.169 github-production-release-asset-2e65be.s3.amazonaws.com
151.101.129.194 github.global.ssl.fastly.net
16.182.107.17 github-com.s3.amazonaws.com
52.216.208.105 github-production-release-asset-2e65be.s3.amazonaws.com
140.82.114.25 live.github.com
13.107.42.16 pipelines.actions.githubusercontent.com
185.199.110.154 github.githubassets.com
185.199.111.153 github.io
185.199.111.153 githubstatus.com
185.199.111.153 assets-cdn.github.com
185.199.111.133 avatars.githubusercontent.com
185.199.111.133 avatars0.githubusercontent.com
185.199.111.133 avatars1.githubusercontent.com
185.199.111.133 avatars2.githubusercontent.com
185.199.111.133 avatars3.githubusercontent.com
185.199.111.133 avatars4.githubusercontent.com
185.199.111.133 avatars5.githubusercontent.com
185.199.111.133 camo.githubusercontent.com
185.199.111.133 cloud.githubusercontent.com
185.199.111.133 desktop.githubusercontent.com
185.199.111.133 favicons.githubusercontent.com
185.199.111.133 github.map.fastly.net
185.199.111.133 media.githubusercontent.com
185.199.111.133 objects.githubusercontent.com
185.199.111.133 private-user-images.githubusercontent.com
185.199.111.133 raw.githubusercontent.com
185.199.111.133 user-images.githubusercontent.com
99.84.108.50 tmdb.org
99.84.108.50 api.tmdb.org
99.84.108.50 files.tmdb.org
52.85.151.18 themoviedb.org
52.85.151.18 api.themoviedb.org
52.85.151.18 www.themoviedb.org
52.85.151.18 auth.themoviedb.org
169.150.236.97 image.tmdb.org
169.150.236.97 images.tmdb.org
52.94.225.248 imdb.com
52.94.228.167 secure.imdb.com
185.199.110.153 github.io
185.199.110.153 githubstatus.com
185.199.110.153 assets-cdn.github.com
99.84.108.29 tmdb.org
99.84.108.29 api.tmdb.org
99.84.108.29 files.tmdb.org
52.85.151.24 themoviedb.org
52.85.151.24 api.themoviedb.org
52.85.151.24 www.themoviedb.org
52.85.151.24 auth.themoviedb.org
169.150.236.100 image.tmdb.org
169.150.236.100 images.tmdb.org
52.94.228.167 imdb.com
3.168.35.144 www.imdb.com
18.67.59.121 s.media-imdb.com
52.94.225.248 us.dd.imdb.com
151.101.1.16 m.media-amazon.com
151.101.129.16 Images-na.ssl-images-amazon.com
151.101.129.16 m.media-amazon.com
151.101.1.16 Images-na.ssl-images-amazon.com
13.32.177.205 images-fe.ssl-images-amazon.com
172.217.31.168 translate.google.com
172.217.31.168 translate.googleapis.com
172.217.31.168 translate-pa.googleapis.com
52.85.151.126 plugins.jetbrains.com
52.85.151.126 download.jetbrains.com
52.85.151.126 cache-redirector.jetbrains.com
173.223.163.218 ia.media-imdb.com
216.58.200.10 translate.google.com
216.58.200.10 translate.googleapis.com
216.58.200.10 translate-pa.googleapis.com

# Update time: 2024-11-29 20:44:14 +08:00
# Update time: 2024-11-29 20:50:29 +08:00
# GitHub²Ö¿â: https://github.com/sinspired/cnNetTool
# cnNetTool End
2 changes: 1 addition & 1 deletion setHosts.py
Original file line number Diff line number Diff line change
Expand Up @@ -785,7 +785,7 @@ def __init__(
self.tester = tester
self.hosts_manager = hosts_manager
# 添加并发限制
self.semaphore = asyncio.Semaphore(10) # 限制并发请求数
self.semaphore = asyncio.Semaphore(1) # 限制并发请求数

# 添加进度显示实例
self.progress = Progress(
Expand Down

0 comments on commit 96a2070

Please sign in to comment.