Explorar o código

line通知增加仁本

zooeytsai %!s(int64=2) %!d(string=hai) anos
pai
achega
3d235ac4dc
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      SEO/seo_notify.py

+ 2 - 2
SEO/seo_notify.py

@@ -40,7 +40,7 @@ cursor = db.query(
     'SELECT * FROM seo.general_log where domain != "innews.com.tw" and datediff(now(),dt)=0 order by dt desc')
 result = "\n"
 idx = 0
-d = {'beastparadise.net':0,'match-planet.com':0,'taroboba-yuan.com':0,'hhh.com.tw':0}
+d = {'beastparadise.net':0,'match-planet.com':0,'taroboba-yuan.com':0,'hhh.com.tw':0,'sctt.com.tw':0}
 for c in cursor:
     custom_name = c['domain']
     if custom_name in d:
@@ -52,7 +52,7 @@ for c in cursor:
         custom_name = name[domain]
         result += "[" + str(c['ranking']) + "]:" + elmt + " "+ f"({custom_name})\n"
 
-per_total_click = f"毛怪:{d['beastparadise.net']}\n清原:{d['taroboba-yuan.com']}\n火柴星人:{d['match-planet.com']}\n幸福空間:{d['hhh.com.tw']}\n"
+per_total_click = f"毛怪:{d['beastparadise.net']}\n清原:{d['taroboba-yuan.com']}\n火柴星人:{d['match-planet.com']}\n幸福空間:{d['hhh.com.tw']}\n仁本:{d['sctt.com.tw']}\n"
 print(per_total_click)
 msg_per_total_click = '\n點擊次數總計:\n' + per_total_click
 msg = "\n機器人執行次數:" + str(idx)