|
|
@ -308,7 +308,7 @@ public class Network {
|
|
|
|
prop.put(STR_TABLE_LIST + conCount + "_updatedBlog", 0);
|
|
|
|
prop.put(STR_TABLE_LIST + conCount + "_updatedBlog", 0);
|
|
|
|
prop.put(STR_TABLE_LIST + conCount + "_isCrawling", 0);
|
|
|
|
prop.put(STR_TABLE_LIST + conCount + "_isCrawling", 0);
|
|
|
|
if (conCount >= maxCount) { break; }
|
|
|
|
if (conCount >= maxCount) { break; }
|
|
|
|
if (sb.webIndex.seedDB != null && sb.webIndex.seedDB.mySeed() != null && seed.hash.equals(sb.webIndex.seedDB.mySeed().hash)) {
|
|
|
|
if (sb.webIndex.seedDB != null && sb.webIndex.seedDB.mySeed() != null && seed.hash != null && seed.hash.equals(sb.webIndex.seedDB.mySeed().hash)) {
|
|
|
|
prop.put(STR_TABLE_LIST + conCount + "_dark", 2);
|
|
|
|
prop.put(STR_TABLE_LIST + conCount + "_dark", 2);
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
prop.put(STR_TABLE_LIST + conCount + "_dark", ((dark) ? 1 : 0) ); dark=!dark;
|
|
|
|
prop.put(STR_TABLE_LIST + conCount + "_dark", ((dark) ? 1 : 0) ); dark=!dark;
|
|
|
@ -346,7 +346,7 @@ public class Network {
|
|
|
|
prop.putHTML(STR_TABLE_LIST + conCount + "_shortname", shortname);
|
|
|
|
prop.putHTML(STR_TABLE_LIST + conCount + "_shortname", shortname);
|
|
|
|
prop.putHTML(STR_TABLE_LIST + conCount + "_fullname", seed.get(yacySeed.NAME, "deadlink"));
|
|
|
|
prop.putHTML(STR_TABLE_LIST + conCount + "_fullname", seed.get(yacySeed.NAME, "deadlink"));
|
|
|
|
userAgent = null;
|
|
|
|
userAgent = null;
|
|
|
|
if (seed.hash.equals(sb.webIndex.seedDB.mySeed().hash)) {
|
|
|
|
if (seed.hash != null && seed.hash.equals(sb.webIndex.seedDB.mySeed().hash)) {
|
|
|
|
userAgent = HTTPLoader.yacyUserAgent;
|
|
|
|
userAgent = HTTPLoader.yacyUserAgent;
|
|
|
|
location = HttpClient.generateLocation();
|
|
|
|
location = HttpClient.generateLocation();
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|