修改: PriceSystem/sell_price/zhuge0118A.py
This commit is contained in:
@@ -100,7 +100,7 @@ def commonprice(ct, rl, p):
|
||||
|
||||
def some_district_information(ct, rl, lk):
|
||||
|
||||
query = {"city": ct, "cat": "sell", "region": rl,杨王村公寓
|
||||
query = {"city": ct, "cat": "sell", "region": rl,
|
||||
"district_name": {"$in": lk},
|
||||
"p_date": {"$gt": some_district_information_time}}
|
||||
|
||||
@@ -108,7 +108,7 @@ def commonprice(ct, rl, p):
|
||||
|
||||
fields1 = {'total_price':1, 'area':1, 'region':1, 'district_name':1, 'url':1, 'p_date':1}
|
||||
|
||||
return fangjia.findHouse(query)
|
||||
return fangjia.findHouse(query,fields1)
|
||||
"""
|
||||
return fangjia.find_house_from_elastic_search(ct, rl, lk,
|
||||
"lianjia.com", some_district_information_time)
|
||||
|
||||
Reference in New Issue
Block a user