Linux中如何用command line save google search result page

需要定時檢測一些資訊,希望自動將結果save in pc

原帖由 u2on 於 2009-8-30 20:28 發表
需要定時檢測一些資訊,希望自動將結果save in pc



wget "http://www.google.com/search?q=apple+daily" -O search-result.html

TOP

原帖由 little_keung 於 2009-8-31 00:56 發表



wget "http://www.google.com/search?q=apple+daily" -O search-result.html

I have tried but got an error
  1. wget "http://www.google.com/search?q=apple+daily" -O search-result.html
  2. --05:58:07--  http://www.google.com/search?q=apple+daily
  3.            => `search-result.html'
  4. Resolving www.google.com... 216.239.61.104
  5. Connecting to www.google.com|216.239.61.104|:80... connected.
  6. HTTP request sent, awaiting response... 403 Forbidden
  7. 05:58:08 ERROR 403: Forbidden.
複製代碼

TOP

Add a -U "mozilla"

TOP

原帖由 lazyfai 於 2009-8-31 07:19 發表
Add a -U "mozilla"

Great, thanks a lot.

TOP