memo-2018_1120_0109

memo-2018_1120_0109

# https://gihyo.jp/dpを起点として再帰的にクローリング
wget -r -np -w 1 -l 1 --restrict-file-names=nocontrol https://gihyo.jp/dp/

sudo apt-get install tree # なければ

tree gihyo.jp/

 

mkdir sample

cd sample/

wget 'https://image.gihyo.co.jp/assets/files/book/2017/978-4-7741-8367-1/download/sample_codes.zip'

sudo apt-get install unzip # なければ

unzip sample_codes.zip

 

cf. Pythonクローリング&スクレイピング ―データ収集・解析のための実践開発ガイド― サポートページ
https://gihyo.jp/book/2017/978-4-7741-8367-1/support

コメント

タイトルとURLをコピーしました