数据更新

This commit is contained in:
luzhisheng 2021-09-27 15:11:25 +08:00
parent eecfc80a1c
commit 9da6ba2b73

View File

@ -38,6 +38,9 @@ class extractor(Baes):
} }
sub_categorys.append(sub_categorys_dict) sub_categorys.append(sub_categorys_dict)
value = globalData.get('skuModel').get('skuProps')[0].get('value')
sub_colour_categorys = value
orderParam = globalData.get('orderParamModel').get('orderParam').get('skuParam').get('skuRangePrices') orderParam = globalData.get('orderParamModel').get('orderParam').get('skuParam').get('skuRangePrices')
companyName = globalData.get('tempModel').get('companyName') companyName = globalData.get('tempModel').get('companyName')
sellerLoginId = globalData.get('tempModel').get('sellerLoginId') sellerLoginId = globalData.get('tempModel').get('sellerLoginId')
@ -62,6 +65,7 @@ class extractor(Baes):
"company_name_url": "https://detail.1688.com/offer/{}.html".format(offerId), "company_name_url": "https://detail.1688.com/offer/{}.html".format(offerId),
"title": title, "title": title,
"sub_categorys": sub_categorys, "sub_categorys": sub_categorys,
"sub_colour_categorys": sub_colour_categorys,
"order_param_model": orderParam, "order_param_model": orderParam,
"sellerLoginId": sellerLoginId, "sellerLoginId": sellerLoginId,
"offerUnit": offerUnit, "offerUnit": offerUnit,