From 8cead01270c45540440ad2c551f4810f25e630e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=93=AD=E5=9D=A4?= <10372463+ming-kun@user.noreply.gitee.com> Date: Thu, 2 Apr 2026 20:35:50 +0800 Subject: [PATCH] modified: app/amazon/del_brand.py backend/blueprints/get_resource.py --- app/amazon/del_brand.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/amazon/del_brand.py b/app/amazon/del_brand.py index 9bb2a94..23f0210 100644 --- a/app/amazon/del_brand.py +++ b/app/amazon/del_brand.py @@ -465,9 +465,9 @@ class AmazoneDriver(ZiniaoDriver): load_ele = self.tab.ele("xpath://div[contains(@class,'Loader-module__loader')]") # load_ele.wait.hidden(timeout=3, raise_err=False) load_ele.wait.deleted(timeout=3, raise_err=False) - time.sleep(1) + time.sleep(0.5) - sku_ls = self.tab.eles("xpath://div[@data-sku]") + sku_ls = self.tab.eles("xpath://div[@data-sku]",timeout=3) if len(sku_ls) > 0: break return sku_ls