Commit b9ae2308 authored by zhanglu's avatar zhanglu

3.0 tag

parent 918a37ab
......@@ -28,9 +28,7 @@ class DiaryFormat(BaseFormat):
diary: DiaryInfo = DiaryInfo(**item)
diary.gm_url = gm_protocol.get_diary_detail(id=diary.id)
tags_v3 = item["tags_v3"]
# if not hit_gray(self.version, Rules.TAG_MIGRATE_724, self.device_id):
# tags_v3 = []
tags_v3 = []
tags = transform_tags(
tags=item["tags"],
tab_type=SEARCH_TAB_TYPE.DIARY,
......
......@@ -39,9 +39,7 @@ class AnswerFormat(BaseFormat):
answer.content = gm_decode_html(answer.content)
answer.gm_url = gm_protocol.get_question_detail(item["question_id"], top_answer_id=item["answer_id"])
tags_v3 = item["tags_v3"]
# if not hit_gray(self.version, Rules.TAG_MIGRATE_724, self.device_id):
# tags_v3 = []
tags_v3 = []
tags = transform_tags(
tags=item["tags"],
tab_type=SEARCH_TAB_TYPE.ALL,
......
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