소스 검색

Merge branch 'feature/20250717-update-msg-daily-improve' of luojunhui/LongArticlesJob into master

luojunhui 3 달 전
부모
커밋
0ec70d99f8
2개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 0
      applications/aiditApi.py
  2. 1 1
      applications/wxSpiderApi.py

+ 1 - 0
applications/aiditApi.py

@@ -110,6 +110,7 @@ def get_publish_account_from_aigc():
             LEFT JOIN publish_account_remark t5 on t3.id = t5.publish_account_id
         WHERE
             t1.plan_status = 1
+            AND t1.content_modal = 3
             AND t3.channel = 5
             GROUP BY t3.id;
     """

+ 1 - 1
applications/wxSpiderApi.py

@@ -36,7 +36,7 @@ class WeixinSpider(object):
         return response.json()
 
     @classmethod
-    # @retryOnNone()
+    @retryOnNone()
     def get_article_text(cls, content_link, is_count=False, is_cache=True) -> dict:
         """
         获取文章