06-蘑菇街产品详情页面

06-蘑菇街产品详情页面

目录
01-蘑菇街爬虫准备工作1
02-蘑菇街爬虫mw-sign参数破解
03-蘑菇街爬虫概述
04-蘑菇街爬虫:店铺搜索页面
05-获取店铺内的所有产品基本信息

一、url分析

https://api.mogu.com/h5/http.detail.api/1/?data=%7B%22iid%22%3A%221k2jppg%22%2C%22activityId%22%3A%22%22%2C%22fastbuyId%22%3A%22%22%2C%22template%22%3A%221-1-detail_normal-1.0.0%22%7D&mw-appkey=100028&mw-ttid=NMMain%40mgj_pc_1.0&mw-t=1619413574395&mw-uuid=10b321d1-3ddb-4298-a453-acbf17732d41&mw-h5-os=unknown&mw-sign=26dd75cb22f7bb69835a65964fbe4fd9&callback=mwpCb2&_=1619413574396

蘑菇街所有json数据接口请求方法都一样,

name value
data {“iid”:“1k2jppg”,“activityId”:"",“fastbuyId”:"",“template”:“1-1-detail_normal-1.0.0”} ,iid表示产品id
mw-t 1619090687252,请求时间,当前时间*1000去除小数位。
mw-sign 加密数据,破解请查看mw-sign参数破解内容

二、mw-sign参数破解

破解过程学习查看mw-sign破解。

name value
data {“iid”:“1k2jppg”,“activityId”:"",“fastbuyId”:"",“template”:“1-1-detail_normal-1.0.0”}
x2 “100028&unknown&{}&NMMain@mgj_pc_1.0&10b321d1-3ddb-4298-a453-acbf17732d41&http.detail.api&1&{}&{}”

蘑菇街爬虫所用工具函数我放在网盘里,大家下载使用。
链接:fuctions4.py
提取码:1234

三、请求代码

from functions4 import getData


def get_product(iid):
    data = '{"iid":"%s","activityId":"","fastbuyId":"","template":"1-1-detail_normal-1.0.0"}' % (iid)
    x2 = "100028&unknown&{}&NMMain@mgj_pc_1.0&10b321d1-3ddb-4298-a453-acbf17732d41&http.detail.api&1&{}&{}"
    url = 'https://api.mogu.com/h5/http.detail.api/1/?' \
          'data={}&mw-appkey=100028&mw-ttid=NMMain%40mgj_pc_1.0' \
          '&mw-t={}&mw-uuid=10b321d1-3ddb-4298-a453-acbf17732d41&mw-h5-os=unknown' \
          '&mw-sign={}'
    data_dict = getData(data, x2, url)
    return data_dict


if __name__ == '__main__':
    print(get_product('1k2jppg'))

结果:
{'api': 'http.detail.api', 'v': '1', 'ret': 'SUCCESS', 'data': {'status': {'code': 1001, 'msg': ''}, 'result': {'rateInfo': {'list': [{'style': '颜色:蓝色 尺码:L ', 'level': '', 'isBuyerShow': False, 'canExplain': False, 'user': {'uname': 'syunier', 'avatar': 'https://s11.mogucdn.com/mlcdn/5abf39/190225_2difbfh3ahj4gb9blc0k3gjc63ib2_132x132.jpg', 'profileUrl': ''}, 'rateId': '117meuok', 'content': '衣衣质量很好,显瘦,同事都说好', 'created': 1551325565, 'isAnonymous': 0, 'isEmpty': 1}, {'level': '', 'canExplain': False, 'user': {'profileUrl': '', 'uname': 'A000许2011', 'avatar': 'https://s11.mogucdn.com/mlcdn/5abf39/171025_1c0bjce2d3l137li73002e68499bf_640x640.jpg'}, 'content': '穿上很修身很显气质,面料质量都狠满意', 'created': 1551323985, 'isEmpty': 1, 'rateId': '117mf7cw', 'isAnonymous': 0, 'style': '颜色:粉红色 尺码:M ', 'isBuyerShow': False}], 'cRate': 79, 'imgTotal': 0, 'rateTags': [{'emotion': 'positive', 'property': 'rateLabel', 'value': '款式好看', 'num': 5, 'labelId': 12, 'labelIds': '12'}, {'labelIds': '13', 'emotion': 'positive', 'property': 'rateLabel', 'value': '没有色差', 'num': 3, 'labelId': 13}, {'emotion': 'positive', 'property': 'rateLabel', 'value': '发货快', 'num': 2, 'labelId': 19, 'labelIds': '19'}, {'property': 'rateLabel', 'value': '上身效果好', 'num': 2, 'labelId': 11, 'labelIds': '11', 'emotion': 'positive'}, {'labelId': 9, 'labelIds': '9', 'emotion': 'positive', 'property': 'rateLabel', 'value': '没有气味', 'num': 2}], 'sales': 494}, 'detailInfo': {'splitDetailImage': True, 'desc': '韩版修身一粒扣西装外套收腰百搭纯色短款长袖小西服女黑色休闲春装', 'detailImage': [{'desc': '', 'key': '穿着效果', 'anchor': 'model_img', 'list': ['https://s5.mogucdn.com/p2/160921/upload_0jb25dkie2de2bjidjkk9aejkjddh_750x982.jpg', 'https://s5.mogucdn.com/p2/160921/upload_6882fei88e8d38d9e2a5i1d36bclc_750x572.jpg', 'https://s5.mogucdn.com/p2/160921/upload_0c2958lcabdhc3h2274f42279c5d5_750x673.jpg', 'https://s11.mogucdn.com/p2/160921/upload_0fcd0cc5bf46jj1c5f1idd43i9fbh_750x753.jpg', 'https://s11.mogucdn.com/p2/160921/upload_89fie3l0he55ka9gc3b461jk33654_750x913.jpg', 'https://s11.mogucdn.com/p2/160921/upload_3ldgldela346k6ca49a2lakhiih5i_800x800.jpg', 'https://s11.mogucdn.com/p2/160921/upload_7efhkj99295dah4c3j8i4e0915h54_750x913.jpg', 'https://s5.mogucdn.com/p2/160921/upload_6j9da77a0l1l55kk3lf5jil9i6305_750x673.jpg', 'https://s5.mogucdn.com/p2/160921/upload_7g14g79f2j00k2b9ckgg5391g67aj_750x753.jpg', 'https://s11.mogucdn.com/p2/160921/upload_3d96e5jfc6g634b509fdgjc912ec4_750x846.jpg', 'https://s5.mogucdn.com/p2/160921/upload_4gi58j53j00a72012fijb5al4db03_750x751.jpg', 'https://s11.mogucdn.com/p2/160921/upload_1hcj4ed2eg28f16k5ak4db4l4ig73_750x849.jpg', 'https://s11.mogucdn.com/p2/160921/upload_4g4fha82j0h7j2l0e42acei6h7219_750x962.jpg', 'https://s5.mogucdn.com/p2/160921/upload_67j5054cb801h2j90jj407l41ld15_750x826.jpg', 'https://s5.mogucdn.com/p2/160921/upload_7ck4hf105bh0e3b7g5al38i2281b6_750x857.jpg', 'https://s5.mogucdn.com/p2/160921/upload_60gj62jd3f61j4j9gf1g36241896l_750x735.jpg', 'https://s5.mogucdn.com/p2/170317/77101615_6f3ak83kkl00329ged9249aa93ifb_1125x285.jpg']}]}, 'itemInfo': {'desc': '韩版修身一粒扣西装外套收腰百搭纯色短款长袖小西服女黑色休闲春装', 'isShareIntegral': False, 'virtualItemType': 0, 'isMedicalBeautyVirtualItem': False, 'isVirtualItem': False, 'lowPrice': '128.00', 'nowTime': 1619414747, 'isJdItem': False, 'saleStartTime': 0, 'saleType': 0, 'highPrice': '128.00', 'highNowPrice': '89.60', 'isVirtualCouponItem': False, 'picTags': [], 'title': '韩修身一粒扣西装外套收腰百搭纯色短款长袖小西服女黑色休闲春装', 'isSpecialSupplyItem': False, 'extra': {'sales': 494, 'recvAddress': '北京', 'userRecvAddressInfo': {'province': '北京市'}, 'buyerInfoList': [{'logo': 'https://s5.mogucdn.com/mlcdn/5abf39/171220_299b38ekbei836c105133beed79f4_640x640.jpg', 'desc': 'wx_5qbwyd17yjj2o下单成功'}, {'logo': 'https://s5.mogucdn.com/mlcdn/5abf39/180119_1ic5adjdge39c769hh566bbeia338_132x132.jpg', 'desc': '秦时丽人明月心2013下单成功'}, {'logo': 'https://s5.mogucdn.com/new1/v1/bdefaultavatar/06.jpg', 'desc': 'wx_fv42i21yi77b3下单成功'}, {'logo': 'https://s5.mogucdn.com/mlcdn/5abf39/200329_6le8g330i1ejej10gii57afe9ag20_132x132.jpg', 'desc': '美羊羊jg28v5下单成功'}, {'desc': 'm_zrqybmiqcoi5n下单成功', 'logo': 'https://s5.mogucdn.com/new1/v1/bdefaultavatar/02.jpg'}, {'logo': 'https://s5.mogucdn.com/mlcdn/5abf39/191128_79f43g229de4ehbf254e7i1b8ee5f_132x132.jpg', 'desc': '致远家具15172966427下单成功'}], 'isFreePost': True, 'express': '全国包邮', 'address': '广东广州', 'onSaleTime': 0, 'isLiveSeckill': False}, 'officialRecommend': {}, 'titleTags': [], 'cFav': 1047, 'state': 0, 'isCrossBorderItem': False, 'canApplyInstallment': False, 'lowNowPrice': '89.60', 'itemId': '1k2jppg', 'isFaved': False, 'seo': {'seo_noindex': '0', 'title': '【韩修身一粒扣西装外套收腰百搭纯色短款长袖小西服女黑色休闲春装】-女装-西装_上装_女装_服饰鞋包-芭蕉衣服-蘑菇街优店', 'keywords': '秋装,韩版,西装,外套韩修身一粒扣西装外套收腰百搭纯色短款长袖小西服女黑色休闲春装', 'wap_url': '//m.mogujie.com/x6/detail/1k2jppg', 'description': '来自蘑菇街优店西装_上装_女装_服饰鞋包家韩版修身一粒扣西装外套收腰百搭纯色短款长袖小西服女黑色休闲春装的韩修身一粒扣西装外套收腰百搭纯色短款长袖小西服女黑色休闲春装,发现当季女装和芭蕉衣服搭配心得。', 'alternate': '//m.mogujie.com/x6/detail/1k2jppg', 'links': 'null', 'canonical': '//shop.mogujie.com/detail/1k2jppg'}, 'type': 8, 'priceChannel': 0}, 'priceInfo': {'mobileDownloadLink': '', 'eventDesc': '', 'highNowPrice': '', 'priceSplit': '~', 'priceColor': '#333333', 'priceTags': [{'text': '7折', 'bgColor': '#FFE8EE', 'textColor': '#FF2255'}], 'eventPrice': '', 'eventTags': [], 'nowPrice': '89.60', 'eventPriceDesc': {'textColor': '#FF2255', 'bgColor': '#FFE8EE'}, 'eventPriceColor': '#FF2255', 'currency': '¥', 'mobilePrice': '', 'oldPrice': '128.00', 'prePriceTag': {'bgColor': '#FFE8EE', 'textColor': '#FF2255'}, 'extraDesc': ''}, 'userInfo': {'isLogin': False, 'isSelf': False, 'admin': False, 'isNewComer': False, 'shopId': '1oe15w', 'sellerId': '13im21y', 'userId': '13im21y'}, 'shopInfo': {'cSells': '26293', 'cGoods': 44, 'shopId': '1oe15w', 'level': 2, 'services': [{'icon': 'https://s11.mogucdn.com/mlcdn/c45406/180417_25kbfg1c3hdbd120394ji4b11bk2k_36x36.png', 'name': '延误必赔', 'desc': '极速发货、送货保障,若发货时间晚于商家承诺时间或快递派送时间晚于平台标准,可获得延误补贴。', 'serviceDetailId': 1810, 'serviceHeadId': 1800}, {'link': 'https://www.mogu.com/rule/mogu?categoryId=326&ruleId=927', 'desc': '用户发起退货且绑定提现银行卡,可获6-18元运费补贴', 'serviceDetailId': 610, 'serviceHeadId': 600, 'icon': 'https://s11.mogucdn.com/mlcdn/c45406/180417_25kbfg1c3hdbd120394ji4b11bk2k_36x36.png', 'name': '退货补运费'}, {'link': 'https://www.mogu.com/rule/mogu?categoryId=326&ruleId=892', 'desc': '物流签收后7天内买家可无理由退货,需满足退货条件', 'serviceDetailId': 110, 'serviceHeadId': 100, 'icon': 'https://s11.mogucdn.com/mlcdn/c45406/180417_25kbfg1c3hdbd120394ji4b11bk2k_36x36.png', 'name': '7天无理由退货'}, {'desc': '', 'serviceDetailId': 430, 'serviceHeadId': 400, 'icon': 'https://s11.mogucdn.com/mlcdn/c45406/180417_25kbfg1c3hdbd120394ji4b11bk2k_36x36.png', 'name': '72小时发货', 'link': 'https://www.mogu.com/rule/mogu?categoryId=326&ruleId=893'}], 'type': 1, 'isLiangPin': False, 'name': '芭蕉衣服', 'categories': [{'link': 'http://shop.mogu.com/1oe15w/list/index?categoryId=1478144', 'name': '连衣裙'}, {'name': '半身裙', 'link': 'http://shop.mogu.com/1oe15w/list/index?categoryId=1478178'}, {'name': 'T恤 ', 'link': 'http://shop.mogu.com/1oe15w/list/index?categoryId=1478601'}, {'name': '套装 ', 'link': 'http://shop.mogu.com/1oe15w/list/index?categoryId=1479112'}, {'name': '上装', 'link': 'http://shop.mogu.com/1oe15w/list/index?categoryId=1479113'}, {'name': '下装', 'link': 'http://shop.mogu.com/1oe15w/list/index?categoryId=1480533'}, {'name': '衬衫', 'link': 'http://shop.mogu.com/1oe15w/list/index?categoryId=1487055'}, {'name': '连体裤', 'link': 'http://shop.mogu.com/1oe15w/list/index?categoryId=1495164'}, {'name': '防晒衣', 'link': 'http://shop.mogu.com/1oe15w/list/index?categoryId=1515953'}, {'name': '短裤', 'link': 'http://shop.mogu.com/1oe15w/list/index?categoryId=1524020'}, {'name': '外套', 'link': 'http://shop.mogu.com/1oe15w/list/index?categoryId=20224601'}, {'name': '限时优惠100元2件', 'link': 'http://shop.mogu.com/1oe15w/list/index?categoryId=20231707'}, {'name': '新品', 'link': 'http://shop.mogu.com/1oe15w/list/index?categoryId=20259919'}], 'cFans': '5164', 'isMarked': False, 'userId': '13im21y', 'shopLogo': 'https://s5.mogucdn.com/b7/pic/160308/1rb107_ie4tqmlcgu3dgojsg4zdambqgqyde_200x200.jpg', 'score': [{'name': '描述相符', 'score': 4.65, 'isBetter': False}, {'name': '质量满意', 'score': 4.65, 'isBetter': False}], 'shopUrl': '//shop.mogu.com/1oe15w'}, 'preSaleInfo': '', 'countdownInfo': {'warmUpTitle': '', 'isCountdomShow': True, 'isPriceShow': False, 'isWarmUp': False, 'image': '', 'priceDesc': '', 'priceGuarantee': '', 'countdownTitle': '', 'businessType': 'NORMAL', 'nowTime': 1619414747, 'countdown': 0, 'priceColor': '', 'text': ''}, 'topImages': ['https://s5.mogucdn.com/p2/160921/upload_0ehh0h0l197ccfkl2jej919ei2idb_640x960.jpg', 'https://s11.mogucdn.com/p2/160921/upload_050lghg9le2ii55b6kee61lfh9h27_640x960.jpg', 'https://s5.mogucdn.com/p2/160921/upload_2bed7979j415d2afieebi99e611d7_640x960.jpg', 'https://s5.mogucdn.com/p2/160921/upload_1012hg3b3jj2bb3fc87bkf789jdff_640x960.jpg', 'https://s11.mogucdn.com/p2/160921/upload_6ale0826dg1k73l2ich4gee13d4c6_640x960.jpg'], 'itemParams': {'info': {'set': {'图案': '纯色', '厚薄': '普通', '颜色': '黑色,蓝色,粉红色,白色', '尺码': 'XL(建议拍大一码),M(建议拍大一码),L(建议拍大一码),XXL(建议拍大一码)', '衣长': '短款(41-50cm)', '版型': '收腰', '袖长': '长袖', '风格': '通勤(OL)', '衣门襟': '一粒扣', '季节': '春秋', '材质': '棉', '领型': '西装领'}, 'key': '产品参数', 'anchor': 'product_info'}, 'rule': {'disclaimer': '※ 以上尺寸为实物人工测量,因测量方式不同会有1-2cm误差,相关数据仅作参考,以收到实物为准。', 'desc': '※ 以上尺寸为实物人工测量,因测量当时不同会有1-2cm误差,相关数据仅作参考,以收到实物为准。', 'tables': [[['尺码', '肩宽', '胸围', '袖长'], ['M(建议拍大一码)', '37', '86', '57'], ['L(建议拍大一码)', '38', '90', '58'], ['XL(建议拍大一码)', '39', '94', '59'], ['XXL(建议拍大一码)', '40', '98', '60']]], 'key': '尺码说明', 'anchor': 'size_info'}}, 'itemServices': {'services': [{'name': '72小时发货', 'icon': 'https://s11.mogucdn.com/mlcdn/c45406/180417_25kbfg1c3hdbd120394ji4b11bk2k_36x36.png', 'content': '', 'link': 'https://www.mogu.com/rule/mogu?categoryId=326&ruleId=893'}, {'content': '物流签收后7天内买家可无理由退货,需满足退货条件', 'link': 'https://www.mogu.com/rule/mogu?categoryId=326&ruleId=892', 'name': '7天无理由退货', 'icon': 'https://s11.mogucdn.com/mlcdn/c45406/180417_25kbfg1c3hdbd120394ji4b11bk2k_36x36.png'}, {'icon': 'https://s11.mogucdn.com/mlcdn/c45406/180417_25kbfg1c3hdbd120394ji4b11bk2k_36x36.png', 'content': '极速发货、送货保障,若发货时间晚于商家承诺时间或快递派送时间晚于平台标准,可获得延误补贴。', 'name': '延误必赔'}, {'name': '退货补运费', 'icon': 'https://s11.mogucdn.com/mlcdn/c45406/180417_25kbfg1c3hdbd120394ji4b11bk2k_36x36.png', 'content': '用户发起退货且绑定提现银行卡,可获6-18元运费补贴', 'link': 'https://www.mogu.com/rule/mogu?categoryId=326&ruleId=927'}], 'columns': [{'name': 'sales', 'desc': '销量 494', 'icon': 'https://s5.mogucdn.com/p1/161117/idid_ifrdkytcgbstoobummzdambqmeyde_512x512.png'}, {'name': 'express', 'desc': '免邮费', 'icon': 'https://s5.mogucdn.com/p1/161117/idid_ifqwgnbsmjsdoobummzdambqgyyde_512x512.png'}]}, 'skuInfo': {'priceRange': '¥89.60', 'totalStock': 1138, 'canInstallment': False, 'isJdItem': False, 'img': 'https://s5.mogucdn.com/p2/160921/upload_0ehh0h0l197ccfkl2jej919ei2idb_640x960.jpg', 'title': '韩修身一粒扣西装外套收腰百搭纯色短款长袖小西服女黑色休闲春装', 'skus': [{'color': '#71adfa', 'styleId': 1, 'sizeId': 100, 'insuranceMap': {'10': [{'insurancePrice': 448, 'sellerUserId': 442921819, 'skuId': 1378868967, 'actualPrice': 8960, 'insuranceCode': 10}]}, 'stockId': '119lvw92', 'stock': 96, 'style': '蓝色', 'img': 'https://s11.mogucdn.com/p2/160921/upload_36j8830dlg915h9ccag6eb9hd6h66_640x960.jpg', 'currency': '¥', 'size': 'M(建议拍大一码)', 'xdSkuId': '119lvw92', 'price': 12800, 'nowprice': 8960}, {'price': 12800, 'nowprice': 8960, 'img': 'https://s11.mogucdn.com/p2/160921/upload_36j8830dlg915h9ccag6eb9hd6h66_640x960.jpg', 'currency': '¥', 'stock': 96, 'color': '#71adfa', 'size': 'L(建议拍大一码)', 'insuranceMap': {'10': [{'skuId': 1378868968, 'actualPrice': 8960, 'insuranceCode': 10, 'insurancePrice': 448, 'sellerUserId': 442921819}]}, 'stockId': '119lvw94', 'xdSkuId': '119lvw94', 'style': '蓝色', 'styleId': 1, 'sizeId': 101}, {'img': 'https://s11.mogucdn.com/p2/160921/upload_36j8830dlg915h9ccag6eb9hd6h66_640x960.jpg', 'style': '蓝色', 'size': 'XL(建议拍大一码)', 'stock': 95, 'color': '#71adfa', 'styleId': 1, 'stockId': '119lvw96', 'xdSkuId': '119lvw96', 'price': 12800, 'nowprice': 8960, 'currency': '¥', 'sizeId': 102, 'insuranceMap': {'10': [{'actualPrice': 8960, 'insuranceCode': 10, 'insurancePrice': 448, 'sellerUserId': 442921819, 'skuId': 1378868969}]}}, {'insuranceMap': {'10': [{'skuId': 1378868970, 'actualPrice': 8960, 'insuranceCode': 10, 'insurancePrice': 448, 'sellerUserId': 442921819}]}, 'xdSkuId': '119lvw98', 'price': 12800, 'currency': '¥', 'stock': 97, 'style': '蓝色', 'styleId': 1, 'stockId': '119lvw98', 'nowprice': 8960, 'img': 'https://s11.mogucdn.com/p2/160921/upload_36j8830dlg915h9ccag6eb9hd6h66_640x960.jpg', 'color': '#71adfa', 'size': 'XXL(建议拍大一码)', 'sizeId': 103}, {'currency': '¥', 'color': '#fffef8', 'size': 'M(建议拍大一码)', 'sizeId': 100, 'insuranceMap': {'10': [{'actualPrice': 8960, 'insuranceCode': 10, 'insurancePrice': 448, 'sellerUserId': 442921819, 'skuId': 1378868971}]}, 'xdSkuId': '119lvw9a', 'price': 12800, 'nowprice': 8960, 'style': '白色', 'styleId': 2, 'stockId': '119lvw9a', 'img': 'https://s5.mogucdn.com/p2/160921/upload_224i3e3c0gj12gb5igl8fjb5i2lkj_640x960.jpg', 'stock': 78}, {'nowprice': 8960, 'style': '白色', 'color': '#fffef8', 'styleId': 2, 'stockId': '119lvw9c', 'price': 12800, 'currency': '¥', 'stock': 76, 'size': 'L(建议拍大一码)', 'sizeId': 101, 'insuranceMap': {'10': [{'insuranceCode': 10, 'insurancePrice': 448, 'sellerUserId': 442921819, 'skuId': 1378868972, 'actualPrice': 8960}]}, 'xdSkuId': '119lvw9c', 'img': 'https://s5.mogucdn.com/p2/160921/upload_224i3e3c0gj12gb5igl8fjb5i2lkj_640x960.jpg'}, {'sizeId': 102, 'insuranceMap': {'10': [{'skuId': 1378868973, 'actualPrice': 8960, 'insuranceCode': 10, 'insurancePrice': 448, 'sellerUserId': 442921819}]}, 'price': 12800, 'nowprice': 8960, 'img': 'https://s5.mogucdn.com/p2/160921/upload_224i3e3c0gj12gb5igl8fjb5i2lkj_640x960.jpg', 'color': '#fffef8', 'size': 'XL(建议拍大一码)', 'styleId': 2, 'stockId': '119lvw9e', 'xdSkuId': '119lvw9e', 'currency': '¥', 'stock': 87, 'style': '白色'}, {'stock': 98, 'styleId': 2, 'stockId': '119lvw9g', 'xdSkuId': '119lvw9g', 'price': 12800, 'img': 'https://s5.mogucdn.com/p2/160921/upload_224i3e3c0gj12gb5igl8fjb5i2lkj_640x960.jpg', 'currency': '¥', 'insuranceMap': {'10': [{'skuId': 1378868974, 'actualPrice': 8960, 'insuranceCode': 10, 'insurancePrice': 448, 'sellerUserId': 442921819}]}, 'nowprice': 8960, 'style': '白色', 'color': '#fffef8', 'size': 'XXL(建议拍大一码)', 'sizeId': 103}, {'insuranceMap': {'10': [{'actualPrice': 8960, 'insuranceCode': 10, 'insurancePrice': 448, 'sellerUserId': 442921819, 'skuId': 1378868976}]}, 'nowprice': 8960, 'style': '黑色', 'color': '#000000', 'size': 'M(建议拍大一码)', 'sizeId': 100, 'stock': 51, 'styleId': 3, 'stockId': '119lvw9k', 'xdSkuId': '119lvw9k', 'price': 12800, 'img': 'https://s5.mogucdn.com/p2/160921/upload_6cekh520ia2ij9dh34h35egf79gbj_640x960.jpg', 'currency': '¥'}, {'stock': 40, 'nowprice': 8960, 'currency': '¥', 'price': 12800, 'img': 'https://s5.mogucdn.com/p2/160921/upload_6cekh520ia2ij9dh34h35egf79gbj_640x960.jpg', 'style': '黑色', 'color': '#000000', 'size': 'L(建议拍大一码)', 'styleId': 3, 'stockId': '119lvw9i', 'xdSkuId': '119lvw9i', 'sizeId': 101, 'insuranceMap': {'10': [{'skuId': 1378868975, 'actualPrice': 8960, 'insuranceCode': 10, 'insurancePrice': 448, 'sellerUserId': 442921819}]}}, {'xdSkuId': '119lvw9m', 'img': 'https://s5.mogucdn.com/p2/160921/upload_6cekh520ia2ij9dh34h35egf79gbj_640x960.jpg', 'currency': '¥', 'style': '黑色', 'size': 'XL(建议拍大一码)', 'sizeId': 102, 'stockId': '119lvw9m', 'nowprice': 8960, 'stock': 59, 'color': '#000000', 'styleId': 3, 'insuranceMap': {'10': [{'actualPrice': 8960, 'insuranceCode': 10, 'insurancePrice': 448, 'sellerUserId': 442921819, 'skuId': 1378868977}]}, 'price': 12800}, {'color': '#000000', 'styleId': 3, 'xdSkuId': '119lvw9o', 'price': 12800, 'currency': '¥', 'stock': 70, 'style': '黑色', 'insuranceMap': {'10': [{'insuranceCode': 10, 'insurancePrice': 448, 'sellerUserId': 442921819, 'skuId': 1378868978, 'actualPrice': 8960}]}, 'stockId': '119lvw9o', 'nowprice': 8960, 'img': 'https://s5.mogucdn.com/p2/160921/upload_6cekh520ia2ij9dh34h35egf79gbj_640x960.jpg', 'size': 'XXL(建议拍大一码)', 'sizeId': 103}, {'styleId': 4, 'insuranceMap': {'10': [{'insurancePrice': 448, 'sellerUserId': 442921819, 'skuId': 1378868979, 'actualPrice': 8960, 'insuranceCode': 10}]}, 'stockId': '119lvw9q', 'price': 12800, 'nowprice': 8960, 'currency': '¥', 'color': '#ffb6c1', 'size': 'M(建议拍大一码)', 'xdSkuId': '119lvw9q', 'img': 'https://s11.mogucdn.com/p2/160921/upload_4j4cd29kcc9d3lie7f8khgbg1edeb_640x960.jpg', 'stock': 0, 'style': '粉红色', 'sizeId': 100}, {'insuranceMap': {'10': [{'insuranceCode': 10, 'insurancePrice': 448, 'sellerUserId': 442921819, 'skuId': 1378868980, 'actualPrice': 8960}]}, 'size': 'L(建议拍大一码)', 'xdSkuId': '119lvw9s', 'price': 12800, 'nowprice': 8960, 'img': 'https://s11.mogucdn.com/p2/160921/upload_4j4cd29kcc9d3lie7f8khgbg1edeb_640x960.jpg', 'currency': '¥', 'stock': 0, 'style': '粉红色', 'stockId': '119lvw9s', 'styleId': 4, 'sizeId': 101, 'color': '#ffb6c1'}, {'price': 12800, 'stock': 97, 'style': '粉红色', 'styleId': 4, 'sizeId': 102, 'insuranceMap': {'10': [{'insurancePrice': 448, 'sellerUserId': 442921819, 'skuId': 1378868981, 'actualPrice': 8960, 'insuranceCode': 10}]}, 'xdSkuId': '119lvw9u', 'nowprice': 8960, 'img': 'https://s11.mogucdn.com/p2/160921/upload_4j4cd29kcc9d3lie7f8khgbg1edeb_640x960.jpg', 'currency': '¥', 'color': '#ffb6c1', 'size': 'XL(建议拍大一码)', 'stockId': '119lvw9u'}, {'color': '#ffb6c1', 'sizeId': 103, 'insuranceMap': {'10': [{'insuranceCode': 10, 'insurancePrice': 448, 'sellerUserId': 442921819, 'skuId': 1378868982, 'actualPrice': 8960}]}, 'price': 12800, 'stock': 98, 'style': '粉红色', 'img': 'https://s11.mogucdn.com/p2/160921/upload_4j4cd29kcc9d3lie7f8khgbg1edeb_640x960.jpg', 'currency': '¥', 'size': 'XXL(建议拍大一码)', 'styleId': 4, 'stockId': '119lvw9w', 'xdSkuId': '119lvw9w', 'nowprice': 8960}], 'props': [{'isDefault': False, 'label': '颜色', 'list': [{'type': 'style', 'default': False, 'styleId': 1, 'name': '蓝色', 'index': 1}, {'default': False, 'styleId': 2, 'name': '白色', 'index': 2, 'type': 'style'}, {'default': False, 'styleId': 3, 'name': '黑色', 'index': 3, 'type': 'style'}, {'default': False, 'styleId': 4, 'name': '粉红色', 'index': 4, 'type': 'style'}]}, {'label': '尺码', 'list': [{'index': 100, 'type': 'size', 'sizeId': 100, 'default': False, 'name': 'M(建议拍大一码)'}, {'name': 'L(建议拍大一码)', 'index': 101, 'type': 'size', 'sizeId': 101, 'default': False}, {'index': 102, 'type': 'size', 'sizeId': 102, 'default': False, 'name': 'XL(建议拍大一码)'}, {'sizeId': 103, 'default': False, 'name': 'XXL(建议拍大一码)', 'index': 103, 'type': 'size'}], 'isDefault': False}], 'styleKey': '颜色', 'sizeKey': '尺码', 'defaultPrice': '¥89.60', 'itemId': '1k2jppg', 'addressInfo': {}}}}, 'needHeaderCookie': False}

你可能感兴趣的:(爬虫,python)