Commit 1ed7c9ca authored by litaolemo's avatar litaolemo

update

parent 9c0e16c6
......@@ -7,6 +7,6 @@
def calculate_zhihu_id(data_dic):
if "answer" in data_dic["url"]:
return data_dic["_id"].replace("zhihu_","")
return data_dic["id"].replace("zhihu_","")
else:
return data_dic["url"]
\ No newline at end of file
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