Ver Fonte

修改统计周期

luojunhui há 2 semanas atrás
pai
commit
59b8607a7a
1 ficheiros alterados com 1 adições e 6 exclusões
  1. 1 6
      tasks/data_tasks/fwh_data_recycle.py

+ 1 - 6
tasks/data_tasks/fwh_data_recycle.py

@@ -404,9 +404,4 @@ class FwhDataExportTemp(FwhDataRecycle):
                 except Exception as e:
                     print(f"article {article['ContentUrl']} is not available, skip it")
         df = pd.DataFrame(L)
-        df.to_csv("temp2.csv", index=False)
-
-
-if __name__ == "__main__":
-    article_list = SaveFwhDataToDatabase().get_stat_published_articles("gh_5e543853d8f0")
-    print(article_list)
+        df.to_csv("temp2.csv", index=False)