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

add

parent 88957085
...@@ -278,7 +278,6 @@ class SoYongSpider(object): ...@@ -278,7 +278,6 @@ class SoYongSpider(object):
read_data_file = open(self.file_name, "r", encoding="utf-8") read_data_file = open(self.file_name, "r", encoding="utf-8")
# 先获取已经请求完的数据 # 先获取已经请求完的数据
for item in read_data_file.readlines(): for item in read_data_file.readlines():
print(item)
data = json.loads(item.strip()) data = json.loads(item.strip())
query = data.get("query词") query = data.get("query词")
city_name = data.get("城市") city_name = data.get("城市")
......
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