ffzy2023 发表于 2023-3-14 22:32

使用AU3查询商标注册信息

$URL= "https://gw.qmxip.com/api-e/trademark/query_hit_page_new?sj=sj?session"
$oHTTP = ObjCreate("WinHttp.WinHttpRequest.5.1")
$oHTTP.Open("POST", $URL,false)
$oHTTP.SetRequestHeader("User-Agent","Chrome")
$oHTTP.SetRequestHeader("Host","gw.qmxip.com")
$oHTTP.SetRequestHeader("Origin","https://sj.qmxip.com")
$oHTTP.SetRequestHeader("Content-Type","application/json")
$oHTTP.SetRequestHeader("X-Requested-With","XMLHttpRequest")
$oHTTP.SetRequestHeader("Upgrade-Insecure-Requests","1")
$oHTTP.SetRequestHeader("Connection","keep-alive")
$data = '{"pageNo":1,"pageSize":20,"keyword":"棋者象棋","searchType":"1","searchFieldDTO":{"trademarkName":1,"trademarkNumber":"","applicationNameAndGyr":"","agency":"","typeOfTrademarkId":""}}'
$oHTTP.Send($data)
$oHTTP.WaitForResponse(-1)

FileWrite("Source.txt",$oHTTP.responsebody)

使用的时候,把keyword后面的关键字改为需要搜索的文字即可。

86618513 发表于 2023-3-15 08:02

LonelyLove 发表于 2023-3-15 08:17

感谢分享

337733 发表于 2023-3-15 08:20

还在学习中,感谢分享

shinghua 发表于 2023-3-15 10:49

AU3在windows平台写些小工具还是方便,我也经常用。

scbzwv 发表于 2023-3-15 16:00

感谢分享

liaolaotou 发表于 2023-12-29 08:44


$URL= "https://gw.qmxip.com/api-e/trademark/query_hit_page_new?sj=sj?session"
你好,楼主,这个提示请求异常,是怎么回事呢,谢谢

PearNoNet 发表于 2024-1-28 23:40

页: [1]
查看完整版本: 使用AU3查询商标注册信息