Browse Source

修改数据库

luojunhui 1 week ago
parent
commit
d86bcb5d5c
1 changed files with 2 additions and 2 deletions
  1. 2 2
      getOffVideosDaily.py

+ 2 - 2
getOffVideosDaily.py

@@ -8,7 +8,7 @@ import traceback
 
 from tqdm import tqdm
 
-from applications import PQMySQL, PQAPI, log, bot
+from applications import longArticlesMySQL, PQAPI, log, bot
 
 EXPIRE_TIME = 3 * 24 * 60 * 60
 
@@ -28,7 +28,7 @@ class AutoGetOffVideos(object):
         :return:
         """
         try:
-            self.db_client = PQMySQL()
+            self.db_client = longArticlesMySQL()
         except Exception as e:
             error_msg = traceback.format_exc()
             bot(