淘宝无货源运营流程 1.5 选词 - 采集搜索下拉框的长尾词

原创 电商记 新零售日志

访问电商记网站( dianshangji.com )安装电商记插件和流程管理系统可使用本功能。 点击文章底部 [ 阅读原文 ] 链接可查看插件安装说明。

学习步骤
本教程将整套淘宝无货源经营流程分解为一百多个任务节点,其中大部分节点均为自动运行的网页流程,可使用电商记插件进行开发,其余节点则是需要人工操作的步骤。任务内容从选词选品、到发布宝贝、处理差异化、到下单发货等环节全有涉及,用户按照序号进行逐个学习和开发即可。开发过程其实很简单,分3个基础阶段:

  • 选词

  • 选品

  • 上架

选词 - 采集搜索下拉框的长尾词

精准选词的基本步骤是通过将热搜词输入到搜索框,从下拉框中采集长尾词。
流程图如下所示:


流程配置内容如下,用户可复制后导入到自己的流程管理系统。

[
{
"id": "0ab0fec2bfef69fd",
"type": "tab",
"label": "淘宝选词",
"disabled": false,
"info": "",
"env": []
},
{
"id": "c659397532fdc3d1",
"type": "inject",
"z": "0ab0fec2bfef69fd",
"name": "",
"props": [
{
"p": "payload"
},
{
"p": "topic",
"vt": "str"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "{\"类目信息\":[\"50008898 女装/女士精品>卫衣/绒衫\"]}",
"payloadType": "json",
"x": 90,
"y": 60,
"wires": [
[
"a20bd42683fded51"
]
]
},
{
"id": "a20bd42683fded51",
"type": "dianshangji",
"z": "0ab0fec2bfef69fd",
"name": "采集类目热搜词",
"process": "8427",
"browser": "",
"closetab": true,
"x": 300,
"y": 60,
"wires": [
[
"9c05a3a92765b089"
],
[],
[]
]
},
{
"id": "9c05a3a92765b089",
"type": "file",
"z": "0ab0fec2bfef69fd",
"name": "",
"filename": "data/marketkeyword.json",
"filenameType": "str",
"appendNewline": true,
"createDir": false,
"overwriteFile": "true",
"encoding": "none",
"x": 610,
"y": 60,
"wires": [
[
"72f960dc3ecd143b"
]
]
},
{
"id": "72f960dc3ecd143b",
"type": "debug",
"z": "0ab0fec2bfef69fd",
"name": "调试 13",
"active": true,
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "false",
"statusVal": "",
"statusType": "auto",
"x": 860,
"y": 40,
"wires": []
},
{
"id": "46a3b00f221f0b67",
"type": "file in",
"z": "0ab0fec2bfef69fd",
"name": "",
"filename": "data/marketkeyword.json",
"filenameType": "str",
"format": "utf8",
"chunk": false,
"sendError": false,
"encoding": "none",
"allProps": false,
"x": 310,
"y": 140,
"wires": [
[
"abf37c389db54a66"
]
]
},
{
"id": "dc5a0a923653275f",
"type": "watch",
"z": "0ab0fec2bfef69fd",
"name": "",
"files": "data/marketkeyword.json",
"recursive": "",
"x": 130,
"y": 220,
"wires": [
[
"46a3b00f221f0b67"
]
]
},
{
"id": "8998fb204f37b486",
"type": "inject",
"z": "0ab0fec2bfef69fd",
"name": "",
"props": [
{
"p": "payload"
},
{
"p": "topic",
"vt": "str"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "",
"payloadType": "date",
"x": 90,
"y": 140,
"wires": [
[
"46a3b00f221f0b67"
]
]
},
{
"id": "abf37c389db54a66",
"type": "dianshangji",
"z": "0ab0fec2bfef69fd",
"name": "采集流量分析相关词列表",
"process": "8394",
"browser": "",
"closetab": true,
"x": 630,
"y": 140,
"wires": [
[
"8052833db9e31a2c"
],
[],
[]
]
},
{
"id": "f9f9b3d6b6ec1dec",
"type": "debug",
"z": "0ab0fec2bfef69fd",
"name": "调试 14",
"active": true,
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "false",
"statusVal": "",
"statusType": "auto",
"x": 860,
"y": 220,
"wires": []
},
{
"id": "8052833db9e31a2c",
"type": "file",
"z": "0ab0fec2bfef69fd",
"name": "",
"filename": "data/subwaykeyword.json",
"filenameType": "str",
"appendNewline": true,
"createDir": false,
"overwriteFile": "true",
"encoding": "none",
"x": 610,
"y": 220,
"wires": [
[
"f9f9b3d6b6ec1dec"
]
]
},
{
"id": "b0ca7502b52fa536",
"type": "watch",
"z": "0ab0fec2bfef69fd",
"name": "",
"files": "data/subwaykeyword.json",
"recursive": "",
"x": 130,
"y": 380,
"wires": [
[
"ec149e91799319bd"
]
]
},
{
"id": "ec149e91799319bd",
"type": "file in",
"z": "0ab0fec2bfef69fd",
"name": "",
"filename": "data/subwaykeyword.json",
"filenameType": "str",
"format": "utf8",
"chunk": false,
"sendError": false,
"encoding": "none",
"allProps": false,
"x": 310,
"y": 300,
"wires": [
[
"041b733480cb9932"
]
]
},
{
"id": "8b54fc3124aeca7d",
"type": "inject",
"z": "0ab0fec2bfef69fd",
"name": "",
"props": [
{
"p": "payload"
},
{
"p": "topic",
"vt": "str"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "",
"payloadType": "date",
"x": 90,
"y": 300,
"wires": [
[
"ec149e91799319bd"
]
]
},
{
"id": "041b733480cb9932",
"type": "dianshangji",
"z": "0ab0fec2bfef69fd",
"name": "采集淘宝搜索的下拉框词",
"process": "7090",
"query": "limit=100",
"browser": "",
"closetab": true,
"x": 630,
"y": 300,
"wires": [
[
"1a94be884ad0b70b"
],
[],
[]
]
},
{
"id": "1a94be884ad0b70b",
"type": "file",
"z": "0ab0fec2bfef69fd",
"name": "",
"filename": "data/longtailkeyword.json",
"filenameType": "str",
"appendNewline": true,
"createDir": false,
"overwriteFile": "true",
"encoding": "none",
"x": 610,
"y": 380,
"wires": [
[
"2c6f0edd77dd5f56"
]
]
},
{
"id": "2c6f0edd77dd5f56",
"type": "debug",
"z": "0ab0fec2bfef69fd",
"name": "调试 15",
"active": true,
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "false",
"statusVal": "",
"statusType": "auto",
"x": 860,
"y": 380,
"wires": []
}
]


图中的流程节点7090根据直通车相关词采集对应的下拉框词,即长尾词。

如需手动运行该流程,可点击电商记网站首页的菜单。


调用该流程节点需要直通车相关词列表,在之前的步骤中由流程节点8394生成并保存在本地文件“data/subwaykeyword.json”中。输入的列表内容如图所示:


如果用户需要限制流程节点7090只采集前若干个关键词,例如前100个关键词,可双击节点,编辑网页流程节点的内容,如下所示:


流程在运行时,对每个关键词采集到的下拉框词,显示在右侧输出区:


流程页面的Sheet1表格内容如图所示:


流程采集所有数据后,会将Sheet1表格中的HTML格式消除。


流程运行结束后,流程图的“调试15”节点的输出内容形如,保存到本地文件“data/longtailkeyword.json”。


更多参考资料请访问网站社区的《 流程管理系统 板块。


关于图形化编程的基础知识,请点击下面的《能格编程》图标,进入公众号教程。

学习图形化编程的最新课程,零基础入门,以3D沙盒游戏为练习环境,好学又好玩。这门课程很适合作为学习办公自动化和Python编程语言的预备课程。如果你想学习编程,或者想教孩子编程,那么这门课就是你的不二选择,欢迎关注公众号“能格编程”。




预览时标签不可点

微信扫一扫
关注该公众号

继续滑动看下一个
新零售日志
向上滑动看下一个
知道了
微信扫一扫
使用小程序
取消 允许
取消 允许
视频 小程序 ,轻点两下取消赞 在看 ,轻点两下取消在看 分享 留言 收藏