收集一些自己喜欢的单词 // 格式化为es批量插入格式 [...$$('[itemprop=text] p')] .map(v=>v.textContent) .slice(1) .map(v=>`{"create":{"_index":"ym","_type":"words","_id":"${v}"}} { "word":"${v}", "sentence":"", "def":"", "created":"2016-11-28"}`).join('\n')