Using js2xml and Scrapy, how can I iterate through a json object to select a specific node?
问题 I'm trying to iterate through a JSON response from a page using js2xml. The question I have, is how do I call the 'stores' node and pass only that as my response? The JSON looks like this: <script> window.appData = { "ressSize": "large", "cssPath": "http://css.bbystatic.com/", "imgPath": "http://images.bbystatic.com/", "jsPath": "http://js.bbystatic.com/", "bbyDomain": "http://www.bestbuy.com/", "bbySslDomain": "https://www-ssl.bestbuy.com/", "isUserLoggedIn": false, "zipCode": "46801",