一些不是一目了然的搜索接口要怎么寻找呢?

使用问题 · 1128 次浏览
Gass9 创建于 2021-01-23 15:06

https://www.bttiantangok.com/search-809437.html

类似这种要转换过的 F12里也找不到


回复内容
Cesar 2021-01-23 18:38
#1

curl 'https://www.bttiantangok.com/e/search/new.php' \

  -H 'authority: www.bttiantangok.com' \

  -H 'pragma: no-cache' \

  -H 'cache-control: no-cache' \

  -H 'upgrade-insecure-requests: 1' \

  -H 'origin: https://www.bttiantangok.com' \

  -H 'content-type: application/x-www-form-urlencoded' \

  -H 'user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.198 Safari/537.36' \

  -H 'accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9' \

  -H 'sec-fetch-site: same-origin' \

  -H 'sec-fetch-mode: navigate' \

  -H 'sec-fetch-user: ?1' \

  -H 'sec-fetch-dest: document' \

  -H 'referer: https://www.bttiantangok.com/search-809437.html' \

  -H 'accept-language: zh-CN,zh;q=0.9,en-US;q=0.8,en;q=0.7,hu;q=0.6' \

  -H 'cookie: __cfduid=d4cc54a7c5685db8f9175e1632d2f2ce71611398258' \

  --data-raw 'keyboard=%E6%90%9C%E7%B4%A2' \

  --compressed

zetalpha 2021-01-23 19:10
#2
zetalpha 最后更新于 2021-01-23 19:11
zetalpha 2021-01-23 19:16
#3

就是chrome 开发者工具找关键字

获取cookie 用cookie去post 和关键字 获取

zetalpha 最后更新于 2021-01-23 20:00
回复主贴