wget -R jpg,gif,css,js -r -l 2 --delete-after http://myip.pass.tw/ | & tee wget.log
-R: 排除某些檔案不抓
-r: 遞迴抓取網頁
-l: 抓到第幾層
--delete-after: 移除暫存網頁

undefined
網站擷取:使用Python
Web Scraping with Python
作者: Ryan Mitchell  
譯者:Studio Tib.
出版社:歐萊禮  
出版日期:2016/10/03
語言:繁體中文

arrow
arrow
    文章標籤
    wget
    全站熱搜

    helloworld 發表在 痞客邦 留言(0) 人氣()