Commit 9c0e16c6 authored by litaolemo's avatar litaolemo

update

parent cc145002
......@@ -100,7 +100,7 @@ class Crawler_zhihu():
video_dic["releaserUrl"] = "https://www.zhihu.com/people/%s" %video_dic["releaser_id"]
video_dic["releaser_id_str"] = "zhihu_" + str(video_dic["releaser_id"])
video_dic["img_list"] = re.findall('img src="(.*?)"', video_dic["content"])
video_dic["_id"] = 'zhihu_%s_%s' % (question_id, answer_id)
video_dic["id"] = 'zhihu_%s_%s' % (question_id, answer_id)
return video_dic
except Exception as e:
print("single data row formate error %s" % e)
......
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