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

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

[
    {
        "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根据直通车相关词采集对应的下拉框词,即长尾词。
yW3TcrChZB.png
如需手动运行该流程,可点击电商记网站首页的菜单。
Selection_487.png

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

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

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

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

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

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