用Python处理Web应用程序
大家好,我想知道处理 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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我不知道某种不稳定的黑客......
你可以按以下方式 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=+