微信读书协议分析|和搜索查询数据接口
博客专区 > Liberxue 的博客 > 博客详情
微信读书协议分析|和搜索查询数据接口
Liberxue 发表于9个月前
微信读书协议分析|和搜索查询数据接口
  • 发表于 9个月前
  • 阅读 20
  • 收藏 0
  • 点赞 0
  • 评论 0

【腾讯云】新注册用户域名抢购1元起>>>   

摘要: 微信读书没有pc版本找本书真费劲 自己抓包搞的ios接口 貌似是通用的 有需要的拿走....

微信读书没有pc版本找本书真费劲 自己抓包搞的ios接口 貌似是通用的 有需要的拿走....

本文来源:www.liberxue.com/weread/wxread

抓包工具:Charles

抓包平台:Mac 10.12.6 Beta (16G24b)

微信读书 服务器:

  • Resin
  • nginx/1.8.1

协议如下:

curl -H 'Host: weread.qq.com' -H 'Origin: http://weread.qq.com' -H 'User-Agent: Mozilla/5.0 (iPhone; CPU iPhone OS 11_0 like Mac OS X) AppleWebKit/604.1.25 (KHTML, like Gecko) Mobile/15A5304i MicroMessenger/6.5.10 NetType/WIFI Language/zh_CN' -H 'Cookie: wr_avatar=http%3A%2F%2Fwx.qlogo.cn%2Fmmhead%2FrK1nsTlCD8GxAic87cBQBrQBghicm72fkbiaPCUEUwRb1yaQF8yM0eib6w%2F0; wr_logined=1; wr_name=Liberxue; wr_skey=ThoYMbm2; wr_vid=7413057; sd_cookie_crttime=1499317803091; sd_userid=41101499317803091; pgv_pvid=73599382; pgv_pvi=9667674112' -H 'Referer: http://weread.qq.com/wrpage/book/share/226099?ref=mp&code=071V44Na0KzfRt1yfQPa0kWNMa0V44NO&state=226099' -H 'Accept-Language: zh-cn' -H 'Accept: */*' --data "bookId=226099" --compressed 'http://weread.qq.com/wrpage/review/list'
curl -H 'Host: weread.qq.com' -H 'Cookie: wr_avatar=http%3A%2F%2Fwx.qlogo.cn%2Fmmhead%2FrK1nsTlCD8GxAic87cBQBrQBghicm72fkbiaPCUEUwRb1yaQF8yM0eib6w%2F0; wr_logined=1; wr_name=Liberxue; wr_skey=ThoYMbm2; wr_vid=7413057; sd_cookie_crttime=1499317803091; sd_userid=41101499317803091; pgv_pvid=73599382; pgv_pvi=9667674112' -H 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8' -H 'Upgrade-Insecure-Requests: 1' -H 'User-Agent: Mozilla/5.0 (iPhone; CPU iPhone OS 11_0 like Mac OS X) AppleWebKit/604.1.25 (KHTML, like Gecko) Mobile/15A5304i MicroMessenger/6.5.10 NetType/WIFI Language/zh_CN' -H 'Accept-Language: zh-cn' --compressed 'http://weread.qq.com/wrpage/search?ref=mp&keyword=1987&code=051Sdj482Sv9lP0lDt7825lf482Sdj4P&state=665533'
curl -H 'Host: weread.qq.com' -H 'Cookie: wr_avatar=http%3A%2F%2Fwx.qlogo.cn%2Fmmhead%2FrK1nsTlCD8GxAic87cBQBrQBghicm72fkbiaPCUEUwRb1yaQF8yM0eib6w%2F0; wr_logined=1; wr_name=Liberxue; wr_skey=ThoYMbm2; wr_vid=7413057; sd_cookie_crttime=1499317803091; sd_userid=41101499317803091; pgv_pvid=73599382; pgv_pvi=9667674112' -H 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8' -H 'Upgrade-Insecure-Requests: 1' -H 'User-Agent: Mozilla/5.0 (iPhone; CPU iPhone OS 11_0 like Mac OS X) AppleWebKit/604.1.25 (KHTML, like Gecko) Mobile/15A5304i MicroMessenger/6.5.10 NetType/WIFI Language/zh_CN' -H 'Accept-Language: zh-cn' --compressed 'http://weread.qq.com/wrpage/search?ref=mp&keyword=time&code=051Sdj482Sv9lP0lDt7825lf482Sdj4P&state=665533'
curl -H 'Host: weread.qq.com' -H 'Cookie: wr_avatar=http%3A%2F%2Fwx.qlogo.cn%2Fmmhead%2FrK1nsTlCD8GxAic87cBQBrQBghicm72fkbiaPCUEUwRb1yaQF8yM0eib6w%2F0; wr_logined=1; wr_name=Liberxue; wr_skey=ThoYMbm2; wr_vid=7413057; sd_cookie_crttime=1499317803091; sd_userid=41101499317803091; pgv_pvid=73599382; pgv_pvi=9667674112' -H 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8' -H 'Upgrade-Insecure-Requests: 1' -H 'User-Agent: Mozilla/5.0 (iPhone; CPU iPhone OS 11_0 like Mac OS X) AppleWebKit/604.1.25 (KHTML, like Gecko) Mobile/15A5304i MicroMessenger/6.5.10 NetType/WIFI Language/zh_CN' -H 'Accept-Language: zh-cn' --compressed 'http://weread.qq.com/wrpage/search?ref=mp&keyword=毛姆'

微信读书iOS版本搜索协议:

curl -H 'Host: weread.qq.com' -H 'Cookie: wr_avatar=http%3A%2F%2Fwx.qlogo.cn%2Fmmhead%2FrK1nsTlCD8GxAic87cBQBrQBghicm72fkbiaPCUEUwRb1yaQF8yM0eib6w%2F0; wr_logined=1; wr_name=Liberxue; wr_skey=ThoYMbm2; wr_vid=7413057; sd_cookie_crttime=1499317803091; sd_userid=41101499317803091; pgv_pvid=73599382; pgv_pvi=9667674112' -H 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8' -H 'Upgrade-Insecure-Requests: 1' -H 'User-Agent: Mozilla/5.0 (iPhone; CPU iPhone OS 11_0 like Mac OS X) AppleWebKit/604.1.25 (KHTML, like Gecko) Mobile/15A5304i MicroMessenger/6.5.10 NetType/WIFI Language/zh_CN' -H 'Accept-Language: zh-cn' --compressed 'http://weread.qq.com/wrpage/search?ref=mp&keyword=time&code=051Sdj482Sv9lP0lDt7825lf482Sdj4P&state=665533'

微信读书主页协议 不完整回头再研究

https://i.weread.qq.com/feature?

{"synckey":2499788,"feature":{"DisableNetworkDiagnosis":1,"IAPCancelTime":13000,"disableAutoPlayAudio":1,"exchangeDirectly":1,"inviteFromExchangeView":1,"mustShareSuccBeforeExchange":0,"notUseCertificate":1,"shareBeforeExchange":0,"showAppStoreRecomment":0,"winwinGiftFromBookDetail":1,"winwinGiftFromReading":1,"winwinGiftMaxReceive":2,"showArticle":0,"showExchangeRuleDetail":1}}
  • 打赏
  • 点赞
  • 收藏
  • 分享
共有 人打赏支持
粉丝 31
博文 10
码字总数 7658
作品 2
×
Liberxue
如果觉得我的文章对您有用,请随意打赏。您的支持将鼓励我继续创作!
* 金额(元)
¥1 ¥5 ¥10 ¥20 其他金额
打赏人
留言
* 支付类型
微信扫码支付
打赏金额:
已支付成功
打赏金额: