Comments (2)
刚用 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"
from chinese-independent-blogs.
刚用 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
from chinese-independent-blogs.
Related Issues (20)
- 网站信息更新
- 好推荐
- 神奇的战士 的 博客已经黄了
- email订阅更新失效 HOT 1
- 【推荐】蒲小花的博客
- 网站
- 外国银行卡是怎么开的
- 【追梦人物】的博客无法访问
- 【自荐】豌豆花下猫 | Python猫,编程/Python/翻译/随笔/开源 HOT 1
- 博客https://www.confman.com/
- 自荐博客 www.amjun.com
- 自荐人文类(法律)博客
- 列表中的 RSS 订阅数有点小,完全看不清 HOT 1
- [💡Idea]: indieblogers.com
- Follower count not right HOT 6
- 【推荐】Kerry的学习笔记
- [自荐] N\17L 的博客
- 1
- 计算机与生活的艺术 HOT 1
- 诸葛子房的博客
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chinese-independent-blogs.