Skip to content
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

前一百已经消失的网站 #535

Closed
wenyurush opened this issue Feb 1, 2021 · 2 comments
Closed

前一百已经消失的网站 #535

wenyurush opened this issue Feb 1, 2021 · 2 comments

Comments

@wenyurush
Copy link

4 site:http://calvin1978.blogcn.com "http_code: 000"
8 site:http://www.ideawu.net/blog "http_code: 404"
11 site:https://zeove.com/ "http_code: 000"
51 site:https://typeblog.net/ "http_code: 404"
79 site:https://blog.biezhi.me "http_code: 000"
84 site:http://www.fengtang.com/blog/ "http_code: 000"
98 site:https://kenengba.com/ "http_code: 000"

其他200,但是不确定内容对的

@nobodxbodon
Copy link
Contributor

刚用 python 的 requests 取了 status_code,除了 200 和 404,有不少其他码但似乎浏览器访问没问题。
@wenyurush 请问之前是如何获取的返回码?
另外,至少此两项可以访问(国外):

84 site:http://www.fengtang.com/blog/	"http_code: 000"
98 site:https://kenengba.com/	"http_code: 000"

@wenyurush
Copy link
Author

刚用 python 的 requests 取了 status_code,除了 200 和 404,有不少其他码但似乎浏览器访问没问题。
@wenyurush 请问之前是如何获取的返回码?
另外,至少此两项可以访问(国外):

84 site:http://www.fengtang.com/blog/	"http_code: 000"
98 site:https://kenengba.com/	"http_code: 000"

果真是我大意了,当时直接测试的,忘了考虑fq的问题

time cat url.txt| parallel --eta  -j500 --joblog job.log curl --silent -o {}.$(date +%Y-%m-%d).log  --retry 5 --max-time 20 --connect-timeout 5 --write-out site:{}\'\\\nhttp_code:\\\t%{http_code}\\\nremote_ip:\\\t%{remote_ip}\\\nsize_request:\\\t%{size_request}\\\nsize_header:\\\t%{size_header}\\\nsize_download:\\\t%{size_download}\\\nspeed_download:\\\t%{speed_download}\\\ntime_namelookup:\\\t%{time_namelookup}\\\ntime_connect:\\\t%{time_connect}\\\ntime_total:\\\t%{time_total}\\\n\\\n\' --location --max-redirs 5 --user-agent \"`shuf -n 1 user-agents.txt`\" {} >> net_quality.log

完整的结果在

https://github.com/wenyurush/Test_site_status/blob/main/net_quality.log

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants