请问怎么用shell提取一个网页的html?

sh/bash/dash/ksh/zsh等Shell脚本
回复
头像
super_phoenix
帖子: 156
注册时间: 2007-01-19 18:28
来自: University of Colorado at Boulder
联系:

请问怎么用shell提取一个网页的html?

#1

帖子 super_phoenix » 2008-12-07 18:28

请问怎么用shell提取一个网页的html?
多谢大家!
格物致知
xeoc
帖子: 1994
注册时间: 2007-05-06 10:12

Re: 请问怎么用shell提取一个网页的html?

#2

帖子 xeoc » 2008-12-07 18:39

?什么意思?wget下载?
头像
xhy
帖子: 3916
注册时间: 2005-12-28 1:16
系统: Ubuntu 12.10 X64
来自: 火星

Re: 请问怎么用shell提取一个网页的html?

#3

帖子 xhy » 2008-12-07 18:51

curl是王道
目前负债150多万
头像
xiooli
帖子: 6956
注册时间: 2007-11-19 21:51
来自: 成都
联系:

Re: 请问怎么用shell提取一个网页的html?

#4

帖子 xiooli » 2008-12-07 19:39

w3m -dump_source url
头像
super_phoenix
帖子: 156
注册时间: 2007-01-19 18:28
来自: University of Colorado at Boulder
联系:

Re: 请问怎么用shell提取一个网页的html?

#5

帖子 super_phoenix » 2008-12-08 11:16

xiooli 写了:w3m -dump_source url
恩,用w3m不错!多谢ls!
格物致知
回复