NodeJs抓取页面内容
const cheerio = require('cheerio');
const request = require('request');
let url = 'https://btc.com/'
request({ url: url, encoding: null }, function (error, response, body) {
if (!error && response.statusCode == 200) {
var buf = iconv.decode(body...