Node.js抓取中文網頁亂碼問題和解決方法-學院-黑基網
var originRequest = require('request') var cheerio = require('cheerio') var iconv = require('iconv-lite') var headers = { 'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.65 Safari/537....