diff --git a/README.md b/README.md index b1a1b58..15fad76 100644 --- a/README.md +++ b/README.md @@ -30,79 +30,69 @@ ```bash -# cnNetTool Start in 2024-11-29 20:24:55 +08:00 -140.82.112.25 alive.github.com -20.205.243.168 api.github.com +# cnNetTool Start in 2024-11-29 20:44:14 +08:00 +140.82.112.26 alive.github.com 140.82.113.21 central.github.com -20.205.243.165 codeload.github.com +140.82.112.10 codeload.github.com 140.82.112.21 collector.github.com -20.205.243.166 github.com -140.82.112.17 github.community +140.82.112.3 gist.github.com +140.82.113.3 github.com 151.101.1.194 github.global.ssl.fastly.net -52.216.206.19 github-com.s3.amazonaws.com -52.217.85.164 github-production-release-asset-2e65be.s3.amazonaws.com +52.217.197.113 github-com.s3.amazonaws.com +52.216.34.169 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.108.133 avatars.githubusercontent.com -185.199.108.133 avatars0.githubusercontent.com -185.199.108.133 avatars1.githubusercontent.com -185.199.108.133 avatars2.githubusercontent.com -185.199.108.133 avatars3.githubusercontent.com -185.199.108.133 avatars4.githubusercontent.com -185.199.108.133 avatars5.githubusercontent.com -185.199.108.133 camo.githubusercontent.com -185.199.108.133 cloud.githubusercontent.com -185.199.108.133 desktop.githubusercontent.com -185.199.108.133 favicons.githubusercontent.com -185.199.108.133 github.map.fastly.net -185.199.108.133 media.githubusercontent.com -185.199.108.133 objects.githubusercontent.com -185.199.108.133 private-user-images.githubusercontent.com -185.199.108.133 raw.githubusercontent.com -185.199.108.133 user-images.githubusercontent.com -13.225.183.56 tmdb.org -13.225.183.56 api.tmdb.org -13.225.183.56 files.tmdb.org -3.166.244.31 themoviedb.org -3.166.244.31 api.themoviedb.org -3.166.244.31 www.themoviedb.org -3.166.244.31 auth.themoviedb.org -169.150.236.100 image.tmdb.org -169.150.236.100 images.tmdb.org -52.94.228.167 imdb.com -18.67.61.135 www.imdb.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 18.67.59.121 s.media-imdb.com 52.94.225.248 us.dd.imdb.com -18.172.46.173 www.imdb.to -52.94.237.74 imdb-webservice.amazon.com -98.82.158.179 origin-www.imdb.com -146.75.113.16 m.media-amazon.com -151.101.193.16 Images-na.ssl-images-amazon.com -3.171.83.185 images-fe.ssl-images-amazon.com -3.167.55.206 images-eu.ssl-images-amazon.com -3.165.17.68 ia.media-imdb.com -146.75.93.16 f.media-amazon.com -18.67.76.14 imdb-video.media-imdb.com -3.164.148.217 dqpnq362acqdi.cloudfront.net +151.101.1.16 m.media-amazon.com +151.101.129.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 -18.65.168.15 plugins.jetbrains.com -18.65.168.15 download.jetbrains.com -18.65.168.15 cache-redirector.jetbrains.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:24:55 +08:00 +# Update time: 2024-11-29 20:44:14 +08:00 # GitHub仓库: https://github.com/sinspired/cnNetTool # cnNetTool End ``` -以上内容会自动定时更新, 数据更新时间:2024-11-29 20:24:55 +08:00 +以上内容会自动定时更新, 数据更新时间:2024-11-29 20:44:14 +08:00 #### 1.2.2 修改 hosts 文件 diff --git a/hosts b/hosts index 047295c..03983cd 100644 --- a/hosts +++ b/hosts @@ -1,70 +1,60 @@ -# cnNetTool Start in 2024-11-29 20:24:55 +08:00 -140.82.112.25 alive.github.com -20.205.243.168 api.github.com +# cnNetTool Start in 2024-11-29 20:44:14 +08:00 +140.82.112.26 alive.github.com 140.82.113.21 central.github.com -20.205.243.165 codeload.github.com +140.82.112.10 codeload.github.com 140.82.112.21 collector.github.com -20.205.243.166 github.com -140.82.112.17 github.community +140.82.112.3 gist.github.com +140.82.113.3 github.com 151.101.1.194 github.global.ssl.fastly.net -52.216.206.19 github-com.s3.amazonaws.com -52.217.85.164 github-production-release-asset-2e65be.s3.amazonaws.com +52.217.197.113 github-com.s3.amazonaws.com +52.216.34.169 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.108.133 avatars.githubusercontent.com -185.199.108.133 avatars0.githubusercontent.com -185.199.108.133 avatars1.githubusercontent.com -185.199.108.133 avatars2.githubusercontent.com -185.199.108.133 avatars3.githubusercontent.com -185.199.108.133 avatars4.githubusercontent.com -185.199.108.133 avatars5.githubusercontent.com -185.199.108.133 camo.githubusercontent.com -185.199.108.133 cloud.githubusercontent.com -185.199.108.133 desktop.githubusercontent.com -185.199.108.133 favicons.githubusercontent.com -185.199.108.133 github.map.fastly.net -185.199.108.133 media.githubusercontent.com -185.199.108.133 objects.githubusercontent.com -185.199.108.133 private-user-images.githubusercontent.com -185.199.108.133 raw.githubusercontent.com -185.199.108.133 user-images.githubusercontent.com -13.225.183.56 tmdb.org -13.225.183.56 api.tmdb.org -13.225.183.56 files.tmdb.org -3.166.244.31 themoviedb.org -3.166.244.31 api.themoviedb.org -3.166.244.31 www.themoviedb.org -3.166.244.31 auth.themoviedb.org -169.150.236.100 image.tmdb.org -169.150.236.100 images.tmdb.org -52.94.228.167 imdb.com -18.67.61.135 www.imdb.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 18.67.59.121 s.media-imdb.com 52.94.225.248 us.dd.imdb.com -18.172.46.173 www.imdb.to -52.94.237.74 imdb-webservice.amazon.com -98.82.158.179 origin-www.imdb.com -146.75.113.16 m.media-amazon.com -151.101.193.16 Images-na.ssl-images-amazon.com -3.171.83.185 images-fe.ssl-images-amazon.com -3.167.55.206 images-eu.ssl-images-amazon.com -3.165.17.68 ia.media-imdb.com -146.75.93.16 f.media-amazon.com -18.67.76.14 imdb-video.media-imdb.com -3.164.148.217 dqpnq362acqdi.cloudfront.net +151.101.1.16 m.media-amazon.com +151.101.129.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 -18.65.168.15 plugins.jetbrains.com -18.65.168.15 download.jetbrains.com -18.65.168.15 cache-redirector.jetbrains.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:24:55 +08:00 +# Update time: 2024-11-29 20:44:14 +08:00 # GitHubֿ: https://github.com/sinspired/cnNetTool # cnNetTool End diff --git a/setHosts.py b/setHosts.py index f4c6f3a..0fe1c92 100644 --- a/setHosts.py +++ b/setHosts.py @@ -340,7 +340,7 @@ async def _resolve_via_dns(self, domain: str) -> Set[str]: return ips - def retry_async(tries=3, delay=0): + def retry_async(tries=3, delay=1): def decorator(func): @wraps(func) async def wrapper(*args, **kwargs):