开启辅助访问 切换到宽版

精易论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

用微信号发送消息登录论坛

新人指南 邀请好友注册 - 我关注人的新帖 教你赚取精币 - 每日签到


求职/招聘- 论坛接单- 开发者大厅

论坛版规 总版规 - 建议/投诉 - 应聘版主 - 精华帖总集 积分说明 - 禁言标准 - 有奖举报

查看: 1023|回复: 4
收起左侧

[完成] python

 关闭 [复制链接]
结帖率:46% (13/28)
发表于 2021-3-12 19:04:32 | 显示全部楼层 |阅读模式   广东省广州市
97精币
{"userIndex":"63663864333565336665636430323365643862333066373133333138653937335f3139322e3136382e3231392e3130375f31393839303130303032","result":"wait","message":"鐢ㄦ埛淇℃伅涓嶅畬鏁达紝璇风◢鍚庨噸璇�","keepaliveInterval":null,"maxLeavingTime":null,"maxFlow":null,"userName":"192","userId":"1989","password":null,"userIp":"","userMac":"53c","webGatePort":null,"webGateIp":null,"service":"","realServiceName":null,"apMac":null,"vlanId":null,"ssid":null,"accountInfo":null,"loginType":"3","utrustUrl":null,"userUrl":"","pubMessage":null,"userGroup":null,"accountFee":null,"wlanAcName":null,"hasMabInfo":false,"isAlowMab":false,"userPackage":null,"selfUrl":null,"ballInfo":null,"notify":null,"resource":null,"offlineurl":null,"redirectUrl":"http://1223/","announcement":null,"userNotice":null,"systemNotice":null,"portalIp":"219","portalUrl":"","rghallUrl":"","welcomeTip":"鍌嶆櫄濂�","serviceList":"","isSuccessService":"false","isCloseWinAllowed":"true","checkUserLogout":"1","samEdition":"enterprise","isFaq":"false","pcClient":"false","pcClientUrl":"","phoneClient":"false","isAutoLogin":"true","domianName":null,"netFlowKey":null,"errorflowurl":null,"isErrorMsg":"false","successUrl":"[]","mabInfo":null,"mabInfoMaxCount":0}


res =requests.get(网址)

然后怎么匹配?
这个怎么匹配userIndex后的63663864333565336665636430323365643862333066373133333138653937335f3139322e3136382e3231392e3130375f31393839303130303032

最佳答案

查看完整内容

res =requests.get(网址).json() print(res['userIndex'])
结帖率:50% (2/4)

签到天数: 19 天

发表于 2021-3-12 19:04:33 | 显示全部楼层   福建省厦门市
res =requests.get(网址).json()

print(res['userIndex'])
回复

使用道具 举报

结帖率:100% (10/10)
发表于 2021-3-12 19:15:25 | 显示全部楼层   辽宁省沈阳市
aaa = {"userIndex":"63663864333565336665636430323365643862333066373133333138653937335f3139322e3136382e3231392e3130375f31393839303130303032"}

userIndex = aaa['userIndex']
回复

使用道具 举报

结帖率:86% (49/57)
发表于 2021-3-12 19:24:17 | 显示全部楼层   广东省深圳市
json 取不香么
回复

使用道具 举报

结帖率:46% (13/28)
 楼主| 发表于 2021-3-12 20:00:08 | 显示全部楼层   广东省广州市
kdabiao 发表于 2021-3-12 19:15
aaa = {"userIndex":"63663864333565336665636430323365643862333066373133333138653937335f3139322e313638 ...

谢谢,答案学习了
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则 致发广告者

发布主题 收藏帖子 返回列表

sitemap| 易语言源码| 易语言教程| 易语言论坛| 易语言模块| 手机版| 广告投放| 精易论坛
拒绝任何人以任何形式在本论坛发表与中华人民共和国法律相抵触的言论,本站内容均为会员发表,并不代表精易立场!
论坛帖子内容仅用于技术交流学习和研究的目的,严禁用于非法目的,否则造成一切后果自负!如帖子内容侵害到你的权益,请联系我们!
防范网络诈骗,远离网络犯罪 违法和不良信息举报电话0663-3422125,QQ: 793400750,邮箱:wp@125.la
Powered by Discuz! X3.4 揭阳市揭东区精易科技有限公司 ( 粤ICP备12094385号-1) 粤公网安备 44522102000125 增值电信业务经营许可证 粤B2-20192173

快速回复 返回顶部 返回列表