来自Walmart JSON Open API Feed

时间:2018-09-03 03:37:49

标签: python json parsing

我在获取python JSON模块来解析由walmart Open API生成的JSON信息时遇到一些问题。

我可以将项目的url作为字符串检索JSON文件,如下所示:

我在pandas模块中具有此信息,因此表中的每个元素如下所示:

print(raw_json[0])
b'{
   "itemId":43090845,
   "parentItemId":43090845,
   "name":"Better Homes and Gardens Owl Memory Foam Bath Rug, 20\\"   x     30\\"",
   "msrp":15.88,
   "salePrice":14.88,
   "upc":"040773068722",
   "categoryPath":"Home/Bath/Bath Rugs & Mats",
   "shortDescription":"Pamper your feet with this Memory Foam bath mat     from Mohawk Home. All synthetic textiles enable it to stand up to moisture.     Slip-resistant backing makes it extra safe and fast drying. Bath rug is     machine washable.",
   "longDescription":"<br><b>Better Homes and Gardens Owl     Memory Foam Bath Rug, 20" x     30":</b><ul><li>Machine     washable</li><li>Slip-resistant backing</li><li>Fast     drying</li><li>Soft to touch</li><li>Material     Content: Polyester</li><li>Better Homes and Garden bath rugs is     extra safe</li></ul>",
   "brandName":"Better Homes & Gardens",
   "thumbnailImage":"https://i5.walmartimages.com/asr/56639088-94cb-    46b3-8a3c-750633ade144_1.74c9173baaca23617a1086156ee5f976.jpeg?odnHeight=100&    odnWidth=100&odnBg=FFFFFF",
   "mediumImage":"https://i5.walmartimages.com/asr/56639088-94cb-    46b3-8a3c-750633ade144_1.74c9173baaca23617a1086156ee5f976.jpeg?odnHeight=180&    odnWidth=180&odnBg=FFFFFF",
   "largeImage":"https://i5.walmartimages.com/asr/56639088-94cb-    46b3-8a3c-750633ade144_1.74c9173baaca23617a1086156ee5f976.jpeg?odnHeight=450&    odnWidth=450&odnBg=FFFFFF",
   "productTrackingUrl":"http://linksynergy.walmart.com/fs-    bin/click?id=|LSNID|&offerid=223073.7200&type=14&catid=8&subid=0&hid=7200&    tmpid=1082&RD_PARM1=https%253A%252F%252Fwww.walmart.com%252Fip%252FBetter-    Homes-and-Gardens-Owl-Memory-Foam-Bath-Rug-20-    x-30%252F43090845%253Faffp1%253D3NMsqL2_UxcE1HIonNkB-    L5B02IQEPQWawum0w3ENkc%2526affilsrc%253Dapi",
   "ninetySevenCentShipping":false,
   "standardShipRate":5.99,
   "size":"20\\"   x 30\\"",
   "color":"Brown",
   "marketplace":false,
   "shipToStore":true,
   "freeShipToStore":true,
   "modelNumber":"BH15-005-599-01",
   "productUrl":"http://c.affil.walmart.com/t/api01?l=https%3A%2F    %2Fwww.walmart.com%2Fip%2FBetter-Homes-and-Gardens-Owl-Memory-Foam-Bath-    Rug-20-x-30%2F43090845%3Faffp1%3D3NMsqL2_UxcE1HIonNkB-    L5B02IQEPQWawum0w3ENkc%26affilsrc%3Dapi%26veh%3Daff%26wmlspartner%3Dreadonlya    pi",
   "customerRating":"4.4",
   "numReviews":5,
   "customerRatingImage":"http://i2.walmartimages.com/i/CustRating    /4_4.gif",
   "categoryNode":"4044_539095_920259",
   "rhid":"30609",
   "bundle":false,
   "clearance":false,
   "preOrder":false,
   "stock":"NOT_AVAILABLE",
   "attributes":{
      "color":"Brown",
      "ironBankCategory":"Home Decor",
      "size":"20\\"      x 30\\""
   },
   "gender":"Unisex",
   "addToCartUrl":"http://c.affil.walmart.com/t/api01?l=http%3A%2F    %2Faffil.walmart.com%2Fcart%2FaddToCart%3Fitems%3D43090845%7C1%26affp1%3D3NMs    qL2_UxcE1HIonNkB-    L5B02IQEPQWawum0w3ENkc%26affilsrc%3Dapi%26veh%3Daff%26wmlspartner%3Dreadonlya    pi",
   "affiliateAddToCartUrl":"http://linksynergy.walmart.com/fs-    bin/click?id=|LSNID|&offerid=223073.7200&type=14&catid=8&subid=0&hid=7200&    tmpid=1082&    RD_PARM1=http%253A%252F%252Faffil.walmart.com%252Fcart%252FaddToCart%253Fitem    s%253D43090845%257C1%2526affp1%253D3NMsqL2_UxcE1HIonNkB-    L5B02IQEPQWawum0w3ENkc%2526affilsrc%253Dapi",
   "freeShippingOver35Dollars":true,
   "imageEntities":[
      {
         "thumbnailImage":"https://i5.walmartimages.com/asr/2a6072b1-    d71a-4dd4-8cbb-    afb358bc04d2_1.e766841c15741606236fb13fec3aa347.jpeg?odnHeight=100&    odnWidth=100&odnBg=FFFFFF",
         "mediumImage":"https://i5.walmartimages.com/asr/2a6072b1-    d71a-4dd4-8cbb-    afb358bc04d2_1.e766841c15741606236fb13fec3aa347.jpeg?odnHeight=180&    odnWidth=180&odnBg=FFFFFF",
         "largeImage":"https://i5.walmartimages.com/asr/2a6072b1-    d71a-4dd4-8cbb-    afb358bc04d2_1.e766841c15741606236fb13fec3aa347.jpeg?odnHeight=450&    odnWidth=450&odnBg=FFFFFF",
         "entityType":"SECONDARY"
      },
      {
         "thumbnailImage":"https://i5.walmartimages.com    /asr/d1dbd2e0-8bd1-4e12-ac2b-    bfa24cb6e980_1.1083a714bcf34400fdab2b1dc19df4a3.jpeg?odnHeight=100&    odnWidth=100&odnBg=FFFFFF",
         "mediumImage":"https://i5.walmartimages.com    /asr/d1dbd2e0-8bd1-4e12-ac2b-    bfa24cb6e980_1.1083a714bcf34400fdab2b1dc19df4a3.jpeg?odnHeight=180&    odnWidth=180&odnBg=FFFFFF",
         "largeImage":"https://i5.walmartimages.com    /asr/d1dbd2e0-8bd1-4e12-ac2b-    bfa24cb6e980_1.1083a714bcf34400fdab2b1dc19df4a3.jpeg?odnHeight=450&    odnWidth=450&odnBg=FFFFFF",
         "entityType":"SECONDARY"
      },
      {
         "thumbnailImage":"https://i5.walmartimages.com    /asr/56639088-94cb-46b3-8a3c-    750633ade144_1.74c9173baaca23617a1086156ee5f976.jpeg?odnHeight=100&        odnWidth=100&odnBg=FFFFFF",
         "mediumImage":"https://i5.walmartimages.com/asr/56639088-94cb-    46b3-8a3c-750633ade144_1.74c9173baaca23617a1086156ee5f976.jpeg?odnHeight=180&    odnWidth=180&odnBg=FFFFFF",
         "largeImage":"https://i5.walmartimages.com/asr/56639088-94cb-    46b3-8a3c-750633ade144_1.74c9173baaca23617a1086156ee5f976.jpeg?odnHeight=450&    odnWidth=450&odnBg=FFFFFF",
         "entityType":"PRIMARY"
      }
   ],
   "availableOnline":false
}'

->我没有做任何更改API输出的操作,但是我删除了似乎已导入表中的b'...'部分。

clean_json = []
for i in rawJson:
    temp = i[2:-1]
    clean_json.append(temp)

确实确实只删除了b'...“部分,如您在此处看到的那样:

print(clean_json[0])
{
   "itemId":43090845,
   "parentItemId":43090845,
   "name":"Better Homes and Gardens Owl Memory Foam Bath Rug, 20\\"   x     30\\"",
   "msrp":15.88,
   "salePrice":14.88,
   "upc":"040773068722",
   "categoryPath":"Home/Bath/Bath Rugs & Mats",
   "shortDescription":"Pamper your feet with this Memory Foam bath mat     from Mohawk Home. All synthetic textiles enable it to stand up to moisture.     Slip-resistant backing makes it extra safe and fast drying. Bath rug is     machine washable.",
   "longDescription":"<br><b>Better Homes and Gardens Owl     Memory Foam Bath Rug, 20" x     30":</b><ul><li>Machine     washable</li><li>Slip-resistant backing</li><li>Fast     drying</li><li>Soft to touch</li><li>Material     Content: Polyester</li><li>Better Homes and Garden bath rugs is     extra safe</li></ul>",
   "brandName":"Better Homes & Gardens",
   "thumbnailImage":"https://i5.walmartimages.com/asr/56639088-94cb-    46b3-8a3c-750633ade144_1.74c9173baaca23617a1086156ee5f976.jpeg?odnHeight=100&    odnWidth=100&odnBg=FFFFFF",
   "mediumImage":"https://i5.walmartimages.com/asr/56639088-94cb-    46b3-8a3c-750633ade144_1.74c9173baaca23617a1086156ee5f976.jpeg?odnHeight=180&    odnWidth=180&odnBg=FFFFFF",
   "largeImage":"https://i5.walmartimages.com/asr/56639088-94cb-    46b3-8a3c-750633ade144_1.74c9173baaca23617a1086156ee5f976.jpeg?odnHeight=450&    odnWidth=450&odnBg=FFFFFF",
   "productTrackingUrl":"http://linksynergy.walmart.com/fs-    bin/click?id=|LSNID|&offerid=223073.7200&type=14&catid=8&subid=0&hid=7200&    tmpid=1082&RD_PARM1=https%253A%252F%252Fwww.walmart.com%252Fip%252FBetter-    Homes-and-Gardens-Owl-Memory-Foam-Bath-Rug-20-    x-30%252F43090845%253Faffp1%253D3NMsqL2_UxcE1HIonNkB-    L5B02IQEPQWawum0w3ENkc%2526affilsrc%253Dapi",
   "ninetySevenCentShipping":false,
   "standardShipRate":5.99,
   "size":"20\\"   x 30\\"",
   "color":"Brown",
   "marketplace":false,
   "shipToStore":true,
   "freeShipToStore":true,
   "modelNumber":"BH15-005-599-01",
   "productUrl":"http://c.affil.walmart.com/t/api01?l=https%3A%2F    %2Fwww.walmart.com%2Fip%2FBetter-Homes-and-Gardens-Owl-Memory-Foam-Bath-    Rug-20-x-30%2F43090845%3Faffp1%3D3NMsqL2_UxcE1HIonNkB-    L5B02IQEPQWawum0w3ENkc%26affilsrc%3Dapi%26veh%3Daff%26wmlspartner%3Dreadonlya    pi",
   "customerRating":"4.4",
   "numReviews":5,
   "customerRatingImage":"http://i2.walmartimages.com/i/CustRating    /4_4.gif",
   "categoryNode":"4044_539095_920259",
   "rhid":"30609",
   "bundle":false,
   "clearance":false,
   "preOrder":false,
   "stock":"NOT_AVAILABLE",
   "attributes":{
      "color":"Brown",
      "ironBankCategory":"Home Decor",
      "size":"20\\"      x 30\\""
   },
   "gender":"Unisex",
   "addToCartUrl":"http://c.affil.walmart.com/t/api01?l=http%3A%2F    %2Faffil.walmart.com%2Fcart%2FaddToCart%3Fitems%3D43090845%7C1%26affp1%3D3NMs    qL2_UxcE1HIonNkB-    L5B02IQEPQWawum0w3ENkc%26affilsrc%3Dapi%26veh%3Daff%26wmlspartner%3Dreadonlya    pi",
   "affiliateAddToCartUrl":"http://linksynergy.walmart.com/fs-    bin/click?id=|LSNID|&offerid=223073.7200&type=14&catid=8&subid=0&hid=7200&    tmpid=1082&    RD_PARM1=http%253A%252F%252Faffil.walmart.com%252Fcart%252FaddToCart%253Fitem    s%253D43090845%257C1%2526affp1%253D3NMsqL2_UxcE1HIonNkB-    L5B02IQEPQWawum0w3ENkc%2526affilsrc%253Dapi",
   "freeShippingOver35Dollars":true,
   "imageEntities":[
      {
         "thumbnailImage":"https://i5.walmartimages.com/asr/2a6072b1-    d71a-4dd4-8cbb-    afb358bc04d2_1.e766841c15741606236fb13fec3aa347.jpeg?odnHeight=100&    odnWidth=100&odnBg=FFFFFF",
         "mediumImage":"https://i5.walmartimages.com/asr/2a6072b1-    d71a-4dd4-8cbb-    afb358bc04d2_1.e766841c15741606236fb13fec3aa347.jpeg?odnHeight=180&    odnWidth=180&odnBg=FFFFFF",
         "largeImage":"https://i5.walmartimages.com/asr/2a6072b1-    d71a-4dd4-8cbb-    afb358bc04d2_1.e766841c15741606236fb13fec3aa347.jpeg?odnHeight=450&    odnWidth=450&odnBg=FFFFFF",
         "entityType":"SECONDARY"
      },
      {
         "thumbnailImage":"https://i5.walmartimages.com    /asr/d1dbd2e0-8bd1-4e12-ac2b-    bfa24cb6e980_1.1083a714bcf34400fdab2b1dc19df4a3.jpeg?odnHeight=100&    odnWidth=100&odnBg=FFFFFF",
         "mediumImage":"https://i5.walmartimages.com    /asr/d1dbd2e0-8bd1-4e12-ac2b-    bfa24cb6e980_1.1083a714bcf34400fdab2b1dc19df4a3.jpeg?odnHeight=180&    odnWidth=180&odnBg=FFFFFF",
         "largeImage":"https://i5.walmartimages.com    /asr/d1dbd2e0-8bd1-4e12-ac2b-    bfa24cb6e980_1.1083a714bcf34400fdab2b1dc19df4a3.jpeg?odnHeight=450&    odnWidth=450&odnBg=FFFFFF",
         "entityType":"SECONDARY"
      },
      {
         "thumbnailImage":"https://i5.walmartimages.com    /asr/56639088-94cb-46b3-8a3c-    750633ade144_1.74c9173baaca23617a1086156ee5f976.jpeg?odnHeight=100&        odnWidth=100&odnBg=FFFFFF",
         "mediumImage":"https://i5.walmartimages.com/asr/56639088-94cb-    46b3-8a3c-750633ade144_1.74c9173baaca23617a1086156ee5f976.jpeg?odnHeight=180&    odnWidth=180&odnBg=FFFFFF",
         "largeImage":"https://i5.walmartimages.com/asr/56639088-94cb-    46b3-8a3c-750633ade144_1.74c9173baaca23617a1086156ee5f976.jpeg?odnHeight=450&    odnWidth=450&odnBg=FFFFFF",
         "entityType":"PRIMARY"
      }
   ],
   "availableOnline":false
}

我尝试使用字符串作为原始输入的json模块中的loads函数解析此字符串:

parsed_json = []
for i in clean_json:
    temp = json.loads(r"""i""")
    parsed_json.append(temp)

但是我一直收到此错误:

raise JSONDecodeError("Expecting value", s, err.value) from None

JSONDecodeError: Expecting value

此错误非常模糊,我不确定要查找的字母是“ s”。我已经从GitHub尝试过ijson了,但是没有运气。我应该如何解析这个json?

3 个答案:

答案 0 :(得分:1)

从API获得的不是字符串,而是一组编码的字节。不用实际的技巧将其转换为字符串,而是使用实际的Python方法decode()(如果未提供参数,它将使用默认编码):

json_string = raw_json[0].decode()

现在您有一个实际的字符串可以传递给json.loads

data = json.loads(json_string)

使用您的数据,我可以使用pprint模块将其打印为:

import pprint
pprint.pprint(data)

给予:

{'addToCartUrl': 'http://c.affil.walmart.com/t/api01?l=http%3A%2F    '
                 '%2Faffil.walmart.com%2Fcart%2FaddToCart%3Fitems%3D43090845%7C1%26affp1%3D3NMs    '
                 'qL2_UxcE1HIonNkB-    '
                 'L5B02IQEPQWawum0w3ENkc%26affilsrc%3Dapi%26veh%3Daff%26wmlspartner%3Dreadonlya    '
                 'pi',
 'affiliateAddToCartUrl': 'http://linksynergy.walmart.com/fs-    '
                          'bin/click?id=|LSNID|&offerid=223073.7200&type=14&catid=8&subid=0&hid=7200&    '
                          'tmpid=1082&    '
                          'RD_PARM1=http%253A%252F%252Faffil.walmart.com%252Fcart%252FaddToCart%253Fitem    '
                          's%253D43090845%257C1%2526affp1%253D3NMsqL2_UxcE1HIonNkB-    '
                          'L5B02IQEPQWawum0w3ENkc%2526affilsrc%253Dapi',
 'attributes': {'color': 'Brown',
                'ironBankCategory': 'Home Decor',
                'size': '20"      x 30"'},
 'availableOnline': False,
 'brandName': 'Better Homes & Gardens',
 'bundle': False,
 'categoryNode': '4044_539095_920259',
 'categoryPath': 'Home/Bath/Bath Rugs & Mats',
 'clearance': False,
 'color': 'Brown',
 'customerRating': '4.4',
 'customerRatingImage': 'http://i2.walmartimages.com/i/CustRating    /4_4.gif',
 'freeShipToStore': True,
 'freeShippingOver35Dollars': True,
 'gender': 'Unisex',
 'imageEntities': [{'entityType': 'SECONDARY',
                    'largeImage': 'https://i5.walmartimages.com/asr/2a6072b1-    '
                                  'd71a-4dd4-8cbb-    '
                                  'afb358bc04d2_1.e766841c15741606236fb13fec3aa347.jpeg?odnHeight=450&    '
                                  'odnWidth=450&odnBg=FFFFFF',
                    'mediumImage': 'https://i5.walmartimages.com/asr/2a6072b1-    '
                                   'd71a-4dd4-8cbb-    '
                                   'afb358bc04d2_1.e766841c15741606236fb13fec3aa347.jpeg?odnHeight=180&    '
                                   'odnWidth=180&odnBg=FFFFFF',
                    'thumbnailImage': 'https://i5.walmartimages.com/asr/2a6072b1-    '
                                      'd71a-4dd4-8cbb-    '
                                      'afb358bc04d2_1.e766841c15741606236fb13fec3aa347.jpeg?odnHeight=100&    '
                                      'odnWidth=100&odnBg=FFFFFF'},
                   {'entityType': 'SECONDARY',
                    'largeImage': 'https://i5.walmartimages.com    '
                                  '/asr/d1dbd2e0-8bd1-4e12-ac2b-    '
                                  'bfa24cb6e980_1.1083a714bcf34400fdab2b1dc19df4a3.jpeg?odnHeight=450&    '
                                  'odnWidth=450&odnBg=FFFFFF',
                    'mediumImage': 'https://i5.walmartimages.com    '
                                   '/asr/d1dbd2e0-8bd1-4e12-ac2b-    '
                                   'bfa24cb6e980_1.1083a714bcf34400fdab2b1dc19df4a3.jpeg?odnHeight=180&    '
                                   'odnWidth=180&odnBg=FFFFFF',
                    'thumbnailImage': 'https://i5.walmartimages.com    '
                                      '/asr/d1dbd2e0-8bd1-4e12-ac2b-    '
                                      'bfa24cb6e980_1.1083a714bcf34400fdab2b1dc19df4a3.jpeg?odnHeight=100&    '
                                      'odnWidth=100&odnBg=FFFFFF'},
                   {'entityType': 'PRIMARY',
                    'largeImage': 'https://i5.walmartimages.com/asr/56639088-94cb-    '
                                  '46b3-8a3c-750633ade144_1.74c9173baaca23617a1086156ee5f976.jpeg?odnHeight=450&    '
                                  'odnWidth=450&odnBg=FFFFFF',
                    'mediumImage': 'https://i5.walmartimages.com/asr/56639088-94cb-    '
                                   '46b3-8a3c-750633ade144_1.74c9173baaca23617a1086156ee5f976.jpeg?odnHeight=180&    '
                                   'odnWidth=180&odnBg=FFFFFF',
                    'thumbnailImage': 'https://i5.walmartimages.com    '
                                      '/asr/56639088-94cb-46b3-8a3c-    '
                                      '750633ade144_1.74c9173baaca23617a1086156ee5f976.jpeg?odnHeight=100&        '
                                      'odnWidth=100&odnBg=FFFFFF'}],
 'itemId': 43090845,
 'largeImage': 'https://i5.walmartimages.com/asr/56639088-94cb-    '
               '46b3-8a3c-750633ade144_1.74c9173baaca23617a1086156ee5f976.jpeg?odnHeight=450&    '
               'odnWidth=450&odnBg=FFFFFF',
 'longDescription': '<br><b>Better Homes and Gardens Owl     '
                    'Memory Foam Bath Rug, 20" x     '
                    '30":</b><ul><li>Machine     '
                    'washable</li><li>Slip-resistant '
                    'backing</li><li>Fast     '
                    'drying</li><li>Soft to '
                    'touch</li><li>Material     Content: '
                    'Polyester</li><li>Better Homes and Garden '
                    'bath rugs is     extra safe</li></ul>',
 'marketplace': False,
 'mediumImage': 'https://i5.walmartimages.com/asr/56639088-94cb-    '
                '46b3-8a3c-750633ade144_1.74c9173baaca23617a1086156ee5f976.jpeg?odnHeight=180&    '
                'odnWidth=180&odnBg=FFFFFF',
 'modelNumber': 'BH15-005-599-01',
 'msrp': 15.88,
 'name': 'Better Homes and Gardens Owl Memory Foam Bath Rug, 20"   x     30"',
 'ninetySevenCentShipping': False,
 'numReviews': 5,
 'parentItemId': 43090845,
 'preOrder': False,
 'productTrackingUrl': 'http://linksynergy.walmart.com/fs-    '
                       'bin/click?id=|LSNID|&offerid=223073.7200&type=14&catid=8&subid=0&hid=7200&    '
                       'tmpid=1082&RD_PARM1=https%253A%252F%252Fwww.walmart.com%252Fip%252FBetter-    '
                       'Homes-and-Gardens-Owl-Memory-Foam-Bath-Rug-20-    '
                       'x-30%252F43090845%253Faffp1%253D3NMsqL2_UxcE1HIonNkB-    '
                       'L5B02IQEPQWawum0w3ENkc%2526affilsrc%253Dapi',
 'productUrl': 'http://c.affil.walmart.com/t/api01?l=https%3A%2F    '
               '%2Fwww.walmart.com%2Fip%2FBetter-Homes-and-Gardens-Owl-Memory-Foam-Bath-    '
               'Rug-20-x-30%2F43090845%3Faffp1%3D3NMsqL2_UxcE1HIonNkB-    '
               'L5B02IQEPQWawum0w3ENkc%26affilsrc%3Dapi%26veh%3Daff%26wmlspartner%3Dreadonlya    '
               'pi',
 'rhid': '30609',
 'salePrice': 14.88,
 'shipToStore': True,
 'shortDescription': 'Pamper your feet with this Memory Foam bath mat     from '
                     'Mohawk Home. All synthetic textiles enable it to stand '
                     'up to moisture.     Slip-resistant backing makes it '
                     'extra safe and fast drying. Bath rug is     machine '
                     'washable.',
 'size': '20"   x 30"',
 'standardShipRate': 5.99,
 'stock': 'NOT_AVAILABLE',
 'thumbnailImage': 'https://i5.walmartimages.com/asr/56639088-94cb-    '
                   '46b3-8a3c-750633ade144_1.74c9173baaca23617a1086156ee5f976.jpeg?odnHeight=100&    '
                   'odnWidth=100&odnBg=FFFFFF',
 'upc': '040773068722'}

答案 1 :(得分:0)

问题出在有

"20\\"     x30\\"",
据我所知

。清理该行,看看是否行得通。

答案 2 :(得分:0)

语句json.loads(r"""i""")试图解码"i" ...这是没有意义的。也许您打算将变量i内插为"""{}""".format(i) ...但是为什么在这种情况下不只使用json.loads(i)

>>> json.loads(raw_json[0][2:-1])
{u'marketplace': False, u'preOrder': False, u'color': u'Brown', u'imageEntities': [{u'entityType': u'SECONDARY', u'thumbnailImage': u'https://i5.walmartimages.com/asr/2a6072b1-    d71a-4dd4-8cbb-    afb358bc04d2_1.e766841c15741606236fb13fec3aa347.jpeg?odnHeight=100&    odnWidth=100&odnBg=FFFFFF', u'largeImage': u'https://i5.walmartimages.com/asr/2a6072b1-    d71a-4dd4-8cbb-    afb358bc04d2_1.e766841c15741606236fb13fec3aa347.jpeg?odnHeight=450&    odnWidth=450&odnBg=FFFFFF', u'mediumImage': u'https://i5.walmartimages.com/asr/2a6072b1-    d71a-4dd4-8cbb-    afb358bc04d2_1.e766841c15741606236fb13fec3aa347.jpeg?odnHeight=180&    odnWidth=180&odnBg=FFFFFF'}, {u'entityType': u'SECONDARY', u'thumbnailImage': u'https://i5.walmartimages.com    /asr/d1dbd2e0-8bd1-4e12-ac2b-    bfa24cb6e980_1.1083a714bcf34400fdab2b1dc19df4a3.jpeg?odnHeight=100&    odnWidth=100&odnBg=FFFFFF', u'largeImage': u'https://i5.walmartimages.com    /asr/d1dbd2e0-8bd1-4e12-ac2b-    bfa24cb6e980_1.1083a714bcf34400fdab2b1dc19df4a3.jpeg?odnHeight=450&    odnWidth=450&odnBg=FFFFFF', u'mediumImage': u'https://i5.walmartimages.com    /asr/d1dbd2e0-8bd1-4e12-ac2b-    bfa24cb6e980_1.1083a714bcf34400fdab2b1dc19df4a3.jpeg?odnHeight=180&    odnWidth=180&odnBg=FFFFFF'}, {u'entityType': u'PRIMARY', u'thumbnailImage': u'https://i5.walmartimages.com    /asr/56639088-94cb-46b3-8a3c-    750633ade144_1.74c9173baaca23617a1086156ee5f976.jpeg?odnHeight=100&        odnWidth=100&odnBg=FFFFFF', u'largeImage': u'https://i5.walmartimages.com/asr/56639088-94cb-    46b3-8a3c-750633ade144_1.74c9173baaca23617a1086156ee5f976.jpeg?odnHeight=450&    odnWidth=450&odnBg=FFFFFF', u'mediumImage': u'https://i5.walmartimages.com/asr/56639088-94cb-    46b3-8a3c-750633ade144_1.74c9173baaca23617a1086156ee5f976.jpeg?odnHeight=180&    odnWidth=180&odnBg=FFFFFF'}], u'numReviews': 5, u'productUrl': u'http://c.affil.walmart.com/t/api01?l=https%3A%2F    %2Fwww.walmart.com%2Fip%2FBetter-Homes-and-Gardens-Owl-Memory-Foam-Bath-    Rug-20-x-30%2F43090845%3Faffp1%3D3NMsqL2_UxcE1HIonNkB-    L5B02IQEPQWawum0w3ENkc%26affilsrc%3Dapi%26veh%3Daff%26wmlspartner%3Dreadonlya    pi', u'ninetySevenCentShipping': False, u'customerRatingImage': u'http://i2.walmartimages.com/i/CustRating    /4_4.gif', u'rhid': u'30609', u'addToCartUrl': u'http://c.affil.walmart.com/t/api01?l=http%3A%2F    %2Faffil.walmart.com%2Fcart%2FaddToCart%3Fitems%3D43090845%7C1%26affp1%3D3NMs    qL2_UxcE1HIonNkB-    L5B02IQEPQWawum0w3ENkc%26affilsrc%3Dapi%26veh%3Daff%26wmlspartner%3Dreadonlya    pi', u'shortDescription': u'Pamper your feet with this Memory Foam bath mat     from Mohawk Home. All synthetic textiles enable it to stand up to moisture.     Slip-resistant backing makes it extra safe and fast drying. Bath rug is     machine washable.', u'freeShipToStore': True, u'size': u'20"   x 30"', u'customerRating': u'4.4', u'brandName': u'Better Homes & Gardens', u'mediumImage': u'https://i5.walmartimages.com/asr/56639088-94cb-    46b3-8a3c-750633ade144_1.74c9173baaca23617a1086156ee5f976.jpeg?odnHeight=180&    odnWidth=180&odnBg=FFFFFF', u'productTrackingUrl': u'http://linksynergy.walmart.com/fs-    bin/click?id=|LSNID|&offerid=223073.7200&type=14&catid=8&subid=0&hid=7200&    tmpid=1082&RD_PARM1=https%253A%252F%252Fwww.walmart.com%252Fip%252FBetter-    Homes-and-Gardens-Owl-Memory-Foam-Bath-Rug-20-    x-30%252F43090845%253Faffp1%253D3NMsqL2_UxcE1HIonNkB-    L5B02IQEPQWawum0w3ENkc%2526affilsrc%253Dapi', u'stock': u'NOT_AVAILABLE', u'categoryNode': u'4044_539095_920259', u'largeImage': u'https://i5.walmartimages.com/asr/56639088-94cb-    46b3-8a3c-750633ade144_1.74c9173baaca23617a1086156ee5f976.jpeg?odnHeight=450&    odnWidth=450&odnBg=FFFFFF', u'parentItemId': 43090845, u'thumbnailImage': u'https://i5.walmartimages.com/asr/56639088-94cb-    46b3-8a3c-750633ade144_1.74c9173baaca23617a1086156ee5f976.jpeg?odnHeight=100&    odnWidth=100&odnBg=FFFFFF', u'bundle': False, u'longDescription': u'<br><b>Better Homes and Gardens Owl
 Memory Foam Bath Rug, 20" x     30":</b><ul><li>Machine     washable</li><li>Slip-resistant backing</li><li>Fast     drying</li><li>Soft to touch</li><li>Material     Content: Polyester</li><li>Better Homes and Garden bath rugs is     extra safe</li></ul>', u'standardShipRate': 5.99, u'categoryPath': u'Home/Bath/Bath Rugs & Mats', u'shipToStore': True, u'freeShippingOver35Dollars': True, u'itemId': 43090845, u'availableOnline': False, u'name': u'Better Homes and Gardens Owl Memory Foam Bath Rug, 20"   x     30"', u'gender': u'Unisex', u'upc': u'040773068722', u'modelNumber': u'BH15-005-599-01', u'salePrice': 14.88, u'affiliateAddToCartUrl': u'http://linksynergy.walmart.com/fs-    bin/click?id=|LSNID|&offerid=223073.7200&type=14&catid=8&subid=0&hid=7200&    tmpid=1082&    RD_PARM1=http%253A%252F%252Faffil.walmart.com%252Fcart%252FaddToCart%253Fitem    s%253D43090845%257C1%2526affp1%253D3NMsqL2_UxcE1HIonNkB-    L5B02IQEPQWawum0w3ENkc%2526affilsrc%253Dapi', u'attributes': {u'color': u'Brown', u'ironBankCategory': u'Home Decor', u'size': u'20"      x 30"'}, u'clearance': False, u'msrp': 15.88}