请问如何实现一个百度搜索的功能?我这么写的代码,但是执行只会出现白色框
{
"program": "quickcommand",
"cmd": "visit('https://www.baidu.com/s?wd=' + '{{input}}')",
"scptarg": "",
"charset": {
"scriptCode": "",
"outputCode": ""
},
"customOptions": {
"bin": "",
"argv": "",
"ext": ""
},
"features": {
"explain": "百度搜索",
"platform": [
"win32",
"linux",
"darwin"
],
"icon": "logo/quickcommand.png",
"mainPush": false,
"code": "over_kozmrfbzeh",
"cmds": [
{
"label": "百度搜索",
"type": "over",
"minNum": 1
}
]
},
"output": "ignore",
"tags": [],
"hasSubInput": false
}
直接点运行的话倒是可以输入关键词搜索