...
|
...
|
@@ -276,11 +276,9 @@ const sendKeywordsUrls = () => { |
|
|
}
|
|
|
|
|
|
getRedisKeywords(start, start + count).then(urls => {
|
|
|
console.log(urls);
|
|
|
|
|
|
// 发送到百度
|
|
|
// sendUrlsToBaidu({site: 'https://www.yohobuy.com'}, urls.pc);
|
|
|
// sendUrlsToBaidu({site: 'https://m.yohobuy.com'}, urls.wap);
|
|
|
sendUrlsToBaidu({site: 'https://www.yohobuy.com'}, urls.pc);
|
|
|
sendUrlsToBaidu({site: 'https://m.yohobuy.com'}, urls.wap);
|
|
|
}).catch(() => {
|
|
|
clearInterval(interval);
|
|
|
});
|
...
|
...
|
|