qrpa 1.0.13__tar.gz → 1.0.15__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of qrpa might be problematic. Click here for more details.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: qrpa
3
- Version: 1.0.13
3
+ Version: 1.0.15
4
4
  Summary: qsir's rpa library
5
5
  Author: QSir
6
6
  Author-email: QSir <1171725650@qq.com>
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "qrpa"
7
- version = "1.0.13"
7
+ version = "1.0.15"
8
8
  description = "qsir's rpa library"
9
9
  authors = [{ name = "QSir", email = "1171725650@qq.com" }]
10
10
  readme = "README.md"
@@ -523,10 +523,10 @@ class SheinLib:
523
523
  log(f'获取备货信息商品列表 做成字典')
524
524
  global DictSkuInfo
525
525
  if skcs == None or len(skcs) == 0:
526
- if mode == 3:
527
- skcs = "sh2405133614611175" # 这是一个不存在的skc
528
- else:
529
- skcs = ""
526
+ # if mode == 3:
527
+ # skcs = "sh2405133614611175" # 这是一个不存在的skc
528
+ # else:
529
+ skcs = ""
530
530
  else:
531
531
  skcs = ",".join(skcs)
532
532
 
@@ -658,6 +658,9 @@ class SheinLib:
658
658
  shelfDays = spu_info['shelfDays']
659
659
  categoryName = spu_info['categoryName']
660
660
 
661
+ if mode in [3] and shelfDays != 1:
662
+ continue
663
+
661
664
  DictSkuSalesDate = self.get_skc_week_actual_sales(skc)
662
665
 
663
666
  for sku_info in spu_info['skuList']:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: qrpa
3
- Version: 1.0.13
3
+ Version: 1.0.15
4
4
  Summary: qsir's rpa library
5
5
  Author: QSir
6
6
  Author-email: QSir <1171725650@qq.com>
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes