Re: 如何保留網頁的內容 - Linux

Quanna avatar
By Quanna
at 2008-07-12T23:52

Table of Contents

※ 引述《jeremy007 (linux藍海帝國)》之銘言:
: 我試了以下指令:
: $ wget -r --level=1 -k "http://www.gnu.org/home.zh-tw.html"
: 指令敲下去後, 是一整個災難
: 因為 wget 抓了太多東西了...
: 我有遺漏掉哪個參數嗎 ?

這位同學... 你有用-m嗎?為什麼我寫了你不用... 用-m就不用-r了

我試這樣的指令
$wget -m -k -E -l 1 http://www.gnu.org/home.zh-tw.html
抓下來東西看似很多,可是它的確是抓第一層連結底下的 html檔而已
比如說你不會抓到「自由軟體之歌 2004/11/18」底下的ogg檔

--
The 4400 ~ A Place In Time ~ [Amanda Abizaid]

So long ago, another life, I can feel your heartbeat.
It's not a dream, remember us. I can see it in your eyes.
We'll find our place in time, a place in time beyond the sun.
We'll find our place in time, a place in time to call our own.

--
Tags: Linux

All Comments

特殊字元?

Frederica avatar
By Frederica
at 2008-07-12T18:45
※ 引述《everydate (月)》之銘言: : file_name=\$\$_myname andlt;--含 $ ,但有加 \ : 當我去 echo 下面這一串,它是正確的 : echo and#34;$FTP $auth -P $port $address \and#34;$destination ...

Re: 如何保留網頁的內容

Edwina avatar
By Edwina
at 2008-07-12T15:52
※ 引述《Adama (So Say We All.)》之銘言: : ※ 引述《jeremy007 (linux藍海帝國)》之銘言: : : page.htm 的內容為 一些文字說明, 一張圖片 以及一個超連結 : : 我要把資料抓下來, 好讓我離線瀏覽 : : $ wget www.foo.bar/page ...

Re: 如何保留網頁的內容

Regina avatar
By Regina
at 2008-07-12T14:59
※ 引述《jeremy007 (linux藍海帝國)》之銘言: : page.htm 的內容為 一些文字說明, 一張圖片 以及一個超連結 : 我要把資料抓下來, 好讓我離線瀏覽 : $ wget www.foo.bar/page.htm : 這樣我會得到一個 page.htm 的單一檔案, wget -m ...

Re: 如何保留網頁的內容

Dinah avatar
By Dinah
at 2008-07-12T14:58
※ 引述《jeremy007 (linux藍海帝國)》之銘言: : 大家好 : linux console mode 底下有什麼方式可以保存網頁的內容呢 ? : : ex: www.foo.bar/page.htm : 假設此網頁每天更新內容 : 我要如何抓取此網頁的所有內容 (類似 IE 的 .mht 封存 ...

ISO的取得

Andrew avatar
By Andrew
at 2008-07-12T14:52
有個問題想請教各位 我想下載fedora9,去官方網站下載時 有好多個載點,有i386 也有x86_64的 請問有什麼差別嗎? 一時之間不知該怎麼選擇,請版眾幫忙 感恩m(_ _)m - ...