“期望属于双引号中包含的属性名称:第1列第3列”&quot'带有JSON请求
试图从公交运输系统中刮擦数据。据我了解,此错误与JSON请求返回的数据没有正确格式的数据有关。问题是,我不知道该请求要返回什么,而且我通常是WebDev的新事物。
response = requests.get('http://passio3.com/www/mapGetData.php?getBuses=1&deviceId=1683997&wTransloc=1')
print(response)
print(response.json())
Trying to scrape data from a bus transit system. From what I understand this error has something to do with the data returned by the JSON request not being formatted properly. The trouble is, I don't know exactly what the request is returning and I'm totally new to webdev stuff in general.
response = requests.get('http://passio3.com/www/mapGetData.php?getBuses=1&deviceId=1683997&wTransloc=1')
print(response)
print(response.json())
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论