好友
阅读权限10
听众
最后登录1970-1-1
|
$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后面的关键字改为需要搜索的文字即可。 |
|
发帖前要善用【论坛搜索】功能,那里可能会有你要找的答案或者已经有人发布过相同内容了,请勿重复发帖。 |
|
|
|
|