Commit 2e1ca3af by leiliangliang

修改card_type判断类型(微博用户采集)

parent 1d18dbe4
......@@ -625,7 +625,8 @@ public class WeiboHotSearchCrawler {
//解析weibo人物信息
Date date = new Date();
for (int i = 0; i < cardGroup.size(); i++) {
if (24 == Integer.valueOf(cardGroup.getJSONObject(i).getString("card_type"))) {
Integer cardType = Integer.valueOf(cardGroup.getJSONObject(i).getString("card_type"));
if (24 == cardType||3 == cardType) {
if (cardGroup.getJSONObject(i).containsKey("users")) {
JSONArray users = cardGroup.getJSONObject(i).getJSONArray("users");
for (int i1 = 0; i1 < users.size(); i1++) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment