Authored by 周少峰

keywords

@@ -209,7 +209,7 @@ const getRedisKeywords = (start, end) => { @@ -209,7 +209,7 @@ const getRedisKeywords = (start, end) => {
209 let urls = {pc: [], wap: []}; 209 let urls = {pc: [], wap: []};
210 210
211 _.forEach(res, keyword => { 211 _.forEach(res, keyword => {
212 - let buff = new Buffer(keyword).toString('hex').toUpperCase(); 212 + let buff = new Buffer(keyword.replace('keywords_mana:', '')).toString('hex').toUpperCase();
213 213
214 urls.pc.push(`https://www.yohobuy.com/so/${buff}.html`); 214 urls.pc.push(`https://www.yohobuy.com/so/${buff}.html`);
215 urls.wap.push(`https://m.yohobuy.com/so/${buff}.html`); 215 urls.wap.push(`https://m.yohobuy.com/so/${buff}.html`);