Commit fa1d3fcd authored by 李小芳's avatar 李小芳

add

parent ab0c6648
......@@ -145,6 +145,7 @@ class CrawlerMain(object):
def get_services_list(self, res_json, query="", city_name="", city_id=-1):
page_service_pids = []
current_end_flat = False
if res_json:
for service in res_json.get("responseData", {}).get("arr_product", []):
current_city = service.get("district_2")
if int(current_city) == int(city_id):
......
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