zhangyong 8 kuukautta sitten
vanhempi
commit
c7a7fddb89
1 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  1. 2 2
      xssy_channel/sph_nrxs.py

+ 2 - 2
xssy_channel/sph_nrxs.py

@@ -254,7 +254,7 @@ class SphNrxs:
                         user_name = data['username']  # 用户v2
                         user_name = data['username']  # 用户v2
                         status = sqlCollect.select_crawler_uesr_v3(uid)
                         status = sqlCollect.select_crawler_uesr_v3(uid)
                         if status:
                         if status:
-                            pq_id = status[0]
+                            pq_id = re.sub(r'[(),]', '', str(status))
                         else:
                         else:
                             pq_id = cls.insert_number(nick_name)
                             pq_id = cls.insert_number(nick_name)
                             if pq_id == None:
                             if pq_id == None:
@@ -273,7 +273,7 @@ class SphNrxs:
                                 [
                                 [
                                     "视频号",
                                     "视频号",
                                     nick_name,
                                     nick_name,
-                                    pq_id,
+                                    str(pq_id),
                                     "5",
                                     "5",
                                     "通用-分享到群",
                                     "通用-分享到群",
                                     "AI片尾引导",
                                     "AI片尾引导",