用Python处理Web应用程序

发布于 2024-10-28 22:23:42 字数 277 浏览 4 评论 0原文

大家好,我想知道处理 Web 应用程序的最佳方法

,我想制作 python 脚本来打开 http://whois.arin .net 然后查询 ip 以获取信息,

在本例中我使用 urllib 但实际上它不与其交互!当我保存结果时,它显示消息查询术语太模糊。请优化查询。或其他一些网站显示错误或访问被拒绝!

那么请告诉我如何处理这个问题!

hello guys i'm wondering the best way to deal with web application

i want to make python script to open http://whois.arin.net then query ip to get information

in this case i use urllib but actually it'a not Interaction with it !! when i save result it's show that message Query terms are too ambiguous. Please refine query. or some site else show error or access denied !

so tell me guys how to handling this problem !

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

兮颜 2024-11-04 22:23:42

我不知道某种不稳定的黑客......

你可以按以下方式 wget 然后 grep 。
例如。对于 ip 94.100.191.201

http://whois.arin.net/?flushCache=false&q=94.100.191.201&whoisSubmitButton=+

I dunno mb some kind of unstable hack...

You can wget in following style and then grep.
eg. for ip 94.100.191.201

http://whois.arin.net/?flushCache=false&q=94.100.191.201&whoisSubmitButton=+

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文