ビックカメラから商品の詳細をスクレイピングし、SpreadSheetに保存する。
- Node.JS (-> v8.11.2)
- npm
-
Node.js,NPMのインストール手順
- nvmのインストール
$ curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.3/install.sh | bash
- Node.js最新版のインストール
$ nvm install --lts $ nvm alias default lts/*
- Node.jsが入っているかどうかの確認
$ node -v $ npm -v
- ローカルサーバを立てる
$ git clone https://github.com/forest1102/BCScraping.git
$ cd BCScraping
$ npm install
$ npm run build
- リクエストの例
(http://localhost:8080/execScraping?q=検索したい用語)
(http://localhost:8080/execScraping?q=検索したい用語&min=10&max=1000)