Przeglądaj źródła

fix(task): Ocr remain number error

runhey 3 lat temu
rodzic
commit
cda0038bb7
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      tasks/RichMan/mall/special.py

+ 1 - 1
tasks/RichMan/mall/special.py

@@ -167,7 +167,7 @@ class Special(Buy, MallNavbar):
                 result = re.findall(r'剩余购买次数:(\d+)', result)[0]
                 result = int(result)
             else:
-                result = re.findall(r'剩余购买次数(\d+)', result)[0]
+                result = re.findall(r'本周剩余数量(\d+)', result)[0]
                 result = int(result)
         except:
             result = 0