|
|
1
197
我们使用
你可以用 curl 命令以及:
|
|
2
29
有很多方法可以从命令行获取页面。。。但这也取决于您想要的是源代码还是页面本身:
使用wget:
我认为你可以找到这么多解决这个小问题的方法,也许你应该阅读所有这些命令的手册页。别忘了更换
祝你好运:) |
|
|
3
9
|
|
|
4
3
|
|
|
5
3
你可以用
|
|
|
6
3
如果你有 LWP 安装后,它提供了一个简单命名为 GET ". $ GET http://example.com <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <HTML> <HEAD> <META http-equiv="Content-Type" content="text/html; charset=utf-8"> <TITLE>Example Web Page</TITLE> </HEAD> <body> <p>You have reached this web page by typing "example.com", "example.net","example.org" or "example.edu" into your web browser.</p> <p>These domain names are reserved for use in documentation and are not available for registration. See <a href="http://www.rfc-editor.org/rfc/rfc2606.txt">RFC 2606</a>, Section 3.</p> </BODY> </HTML>
|
|
|
7
0
没有卷发,没有wget,没有ncat,什么都没有?使用
|