python 爬虫 请求这样的json怎么拿到里面的options 试了
productWeb = requests.get ( jsonurl,cookies=cookies,headers=headers )
ProductData = productWeb.json ()
print(ProductData[1])
print(ProductData["productDataWithOptions"])都拿不到里面的东西
```python
{
'isValidated': False,
'productDataWithOptions': {
'nonSellableMinPurchasePrice': None,
'nonSellablePercentSaved': 0,
'options': [
{
'displayOrder': 1,
'name': 'CushionColor',
'optionDisplayType': 'Thumbnail',
'optionID': 602,
'optionImageDriverFlag': True,
'optionLayoutType': 'GRID',
'values': [
{
'availableFlag': True,
'maxDisplayPrice': 1734.99,
'maxFromSalePrice': 0,
'maxListPrice': 3259.99,
'maxOurPrice': 1734.99,
'maxOversizeItemFee': 0,
'minDisplayPrice': 1734.99,
'minFromSalePrice': 0,
'minListPrice': 3259.99,
'minOurPrice': 1734.99,
'minOversizeItemFee': 0,
'optionImg': '//content.haycdn.com/mgen/options: TKCL290_602_Beige.jpg',
'optionValueID': 161254043,
'percentSaved': 0,
'personalizationNotRequired': False,
'priceFlag': 'NORMAL',
'selectedFlag': False,
'swatchImg': None,
'temporaryPriceEndDate': None,
'text': 'Beige',
'valueOrder': 3
}
],
'isSelected': False,
'selectedValueIndex': -1,
'swatchImages': [
],
'valuesSamePrice': False,
'numAvailableValues': 11,
'isRequired': True,
'declineOptionText': None,
'layoutType': 'GRID',
'shouldDisableGridView': False
}
],
'optionSkus': [
],
'pageName': 'tkclassicsflorencewicker7piecepatioconversationsetwithendtableand2setsofcushioncovers',
'parentFirstReviewEligibleFlag': False,
'parentFreeShippingFlag': True,
'parentIsFastShipping': False,
'parentShippingDisplayFlag': True,
'partnerOnlyFlag': False,
'percentSaved': 3,
'personalization': 'no',
'personalizationCharLimit': '0',
'prefix': '',
'prefixHayneedle': None,
'priceFlag': 'NORMAL',
'primarySite': 669,
'productID': 'TKCL290',
'productBanners': None,
'promotions': [
],
'rebateAmount': 0,
'rebateFlag': False,
'rebateID': 0,
'relatedPreconfigSku': '',
'returnPolicy': 'Youmayreturnmostnew,
unused,
'sellableFlag': True,
'spinImageFlag': False,
'status': 'IN_STOCK',
'suffixHayneedle': None,
'supplierAddendum': None,
'temporaryPriceEndDate': None,
'variationsInStock': 11,
'warranty': None,
'isNewProduct': False
},
'oneOptionSelected': False,
'optionImageDriver': '',
'requiredPersonalizationIDs': [
],
'hasPersonalization': False,
'selectedVariation': None,
'selectedVariationName': '',
'loyaltyPoints': None,
'displayPrice': None
}
```