使用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后面的关键字改为需要搜索的文字即可。 感谢分享 还在学习中,感谢分享 AU3在windows平台写些小工具还是方便,我也经常用。 感谢分享
$URL= "https://gw.qmxip.com/api-e/trademark/query_hit_page_new?sj=sj?session"
你好,楼主,这个提示请求异常,是怎么回事呢,谢谢
页:
[1]