855 协议版本-调整完毕内容

This commit is contained in:
liuwei
2025-04-30 13:22:33 +08:00
parent 869bce8a18
commit 454d084715
88 changed files with 1565 additions and 7816 deletions

View File

@@ -3,7 +3,7 @@
import json
import re
import logging
from loguru import logger
import time
from datetime import datetime
@@ -16,7 +16,7 @@ from utils.ai.dify_news_analyze import dify_news_title_analyze
class News(object):
def __init__(self) -> None:
self.LOG = logging.getLogger(__name__)
self.LOG = logger
self.week = {0: "周一", 1: "周二", 2: "周三", 3: "周四", 4: "周五", 5: "周六", 6: "周日"}
self.headers = {
"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/110.0"}