zhangyong 8 月之前
父节点
当前提交
90284eb08b
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      data_channel/sph_keyword.py

+ 2 - 0
data_channel/sph_keyword.py

@@ -48,6 +48,8 @@ class SphKeyword:
                 duration = items["duration"]
                 duration = cls.time_str_to_seconds(duration)
                 digg_count = items.get('likeNum', "0")
+                if digg_count == '10万+':
+                    digg_count = '100000'
                 old_title =items.get('title', "")
                 old_title = re.sub(r'<em.*?>.*?</em>', '', old_title)
                 cover_url = items["image"]