如何增加偏移限制以刮下网站的响应?
我需要从本网站上获取所有公司,
http://compras.dados.gov.br/fornecedores/v1/fornecedores.json?offset=500
如果我增加了偏移量的价值500
,
"count": 435306,
"offset": 500
我得到了nullpointerexception
这是JSON末尾的值。
I need to get all the companies from this website
http://compras.dados.gov.br/fornecedores/v1/fornecedores.json?offset=500
If I increase the value of offset beyond 500
I get a NullPointerException
"count": 435306,
"offset": 500
This is the value at the end of the json.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

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