种子集合位置修改
This commit is contained in:
+1
-2
@@ -13,7 +13,7 @@ import org.apache.commons.lang3.time.DateUtils
|
||||
class Comm58 {
|
||||
|
||||
static DBCollection collection = MongoUtils.getCollectionByName("fangjia_craw", "third_party_price", "192.168.0.235", 27018)
|
||||
static DBCollection districtSeeds = MongoUtils.getCollectionByName("fangjia_craw", "district_seeds", "192.168.0.235", 27018)
|
||||
static DBCollection districtSeeds = MongoUtils.getCollectionByName("seeddb", "district_seeds", "192.168.0.235", 27018)
|
||||
static final def source = "58同城"
|
||||
static final def root = "58.com"
|
||||
|
||||
@@ -43,7 +43,6 @@ class Comm58 {
|
||||
dbObject.put("city_short", cityShort)
|
||||
dbObject.put("district_id", id)
|
||||
dbObject.put("root", root)
|
||||
dbObject.put("type", "comm")
|
||||
dbObject.put("c_date", c_date)
|
||||
dbObject.put("m_date", c_date)
|
||||
|
||||
|
||||
+1
-1
@@ -11,7 +11,7 @@ import org.apache.commons.lang3.time.DateUtils
|
||||
class CommFang {
|
||||
|
||||
static DBCollection collection = MongoUtils.getCollectionByName("fangjia_craw", "third_party_price", "192.168.0.235", 27018)
|
||||
static DBCollection districtSeeds = MongoUtils.getCollectionByName("fangjia_craw", "district_seeds", "192.168.0.235", 27018)
|
||||
static DBCollection districtSeeds = MongoUtils.getCollectionByName("seeddb", "district_seeds", "192.168.0.235", 27018)
|
||||
|
||||
static void main(String[] args) {
|
||||
Date c_date = new Date()
|
||||
|
||||
+1
-1
@@ -11,7 +11,7 @@ import org.apache.commons.lang3.time.DateUtils
|
||||
class CommKe {
|
||||
|
||||
static DBCollection collection = MongoUtils.getCollectionByName("fangjia_craw", "third_party_price", "192.168.0.235", 27018)
|
||||
static DBCollection districtSeeds = MongoUtils.getCollectionByName("fangjia_craw", "district_seeds", "192.168.0.235", 27018)
|
||||
static DBCollection districtSeeds = MongoUtils.getCollectionByName("seeddb", "district_seeds", "192.168.0.235", 27018)
|
||||
static final def source = "贝壳找房"
|
||||
static final def root = "ke.com"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user