فهرست منبع

outside article monitor

luojunhui 2 ماه پیش
والد
کامیت
b14f28d080
1فایلهای تغییر یافته به همراه16 افزوده شده و 0 حذف شده
  1. 16 0
      tasks/data_tasks/update_published_articles_read_detail.py

+ 16 - 0
tasks/data_tasks/update_published_articles_read_detail.py

@@ -66,6 +66,19 @@ class UpdatePublishedArticlesTaskConst:
     # ARTICLE TABLE
     ARTICLE_TABLE_NAME = "official_articles_v2"
 
+    # ILLEGAL_GH_IDS
+    ILLEGAL_GH_IDS = [
+            'gh_4c058673c07e',
+            'gh_de9f9ebc976b',
+            'gh_7b4a5f86d68c',
+            'gh_f902cea89e48',
+            'gh_789a40fe7935',
+            'gh_cd041ed721e6',
+            'gh_62d7f423f382',
+            'gh_043223059726',
+            'gh_5bb79339a1f4'
+    ]
+
 
 class UpdatePublishedArticlesTaskBase(UpdatePublishedArticlesTaskConst):
 
@@ -109,6 +122,9 @@ class UpdatePublishedArticlesTaskBase(UpdatePublishedArticlesTaskConst):
         account_list = [
             i for i in fetch_response if "自动回复" not in str(i["account_remark"])
         ]
+        account_list = [
+            i for i in account_list if i["gh_id"] not in self.ILLEGAL_GH_IDS
+        ]
         return account_list
 
     def fetch_account_experiment_status(self) -> Dict[str, str]: