An open API service indexing awesome lists of open source software.

https://github.com/wahengchang/node-dcard-scraper

it is an example of implementing cheerio scraper of extracting images in dcard
https://github.com/wahengchang/node-dcard-scraper

cheerio crawler dcard example javascript nodejs npm scraper tutorial

Last synced: 6 months ago
JSON representation

it is an example of implementing cheerio scraper of extracting images in dcard

Awesome Lists containing this project

README

          

# node-dcard-scraper
這個一個網站圖片爬蟲的範例, 在Node.js 的環境下, 使用 Cheerio Library 查找網頁中的圖片. 獲得圖片的 URL 後, 為了確保每一張圖片能成功下載, 所以通過 Promise 的形式連續地一張接一張下載, 利用 Node 原生的 request Library 以 streaming 的下載放到 local.

## Install
```
$ git clone https://github.com/wahengchang/node-dcard-scraper
$ npm install
```

Run
```js
$ npm start
```