title: Feedparser & Python 3.8: how do I get sub-elements from an NWS feed?
body: <p>Reading an NWS alert feed, this code returns the &quot;top-level&quot; elements:</p>
  <pre><code>import feedparser
  d = feedparser.parse('https://api.weather.gov/alerts/active?point=43.7299,-69.8443')
  for k, v in d['entries'][0].items():
  print(k + &quot; = &quot; + str(v))
  </code></pre>
  <p>but it will not get sub-elements in the feed.
  Here are the first several lines of the feed (whole feed result not shown as it is quite long):</p>
  <pre><code>{
  &quot;@context&quot;: [
      &quot;https://geojson.org/geojson-ld/geojson-context.jsonld&quot;,
      {
          &quot;@version&quot;: &quot;1.1&quot;,
          &quot;wx&quot;: &quot;https://api.weather.gov/ontology#&quot;,
          &quot;@vocab&quot;: &quot;https://api.weather.gov/ontology#&quot;
      }
  ],
  &quot;type&quot;: &quot;FeatureCollection&quot;,
      &quot;features&quot;: [
      {
          &quot;id&quot;: &quot;https://api.weather.gov/alerts/urn:oid:2.49.0.1.840.0.7caeaaf39f914bcd0798f4a0495e1ce6f92b2775.004.1&quot;,
          &quot;type&quot;: &quot;Feature&quot;,
          &quot;geometry&quot;: null,
          &quot;properties&quot;: {
              &quot;@id&quot;: &quot;https://api.weather.gov/alerts/urn:oid:2.49.0.1.840.0.7caeaaf39f914bcd0798f4a0495e1ce6f92b2775.004.1&quot;,
              &quot;@type&quot;: &quot;wx:Alert&quot;,
              &quot;id&quot;: &quot;urn:oid:2.49.0.1.840.0.7caeaaf39f914bcd0798f4a0495e1ce6f92b2775.004.1&quot;,
              &quot;areaDesc&quot;: &quot;Penobscot Bay; Coastal Waters from Port Clyde, ME to Cape Elizabeth, ME out 25 NM&quot;,
              &quot;geocode&quot;: {
                  &quot;SAME&quot;: [
                      &quot;073151&quot;,
                      &quot;073152&quot;
                  ],
  </code></pre>
  <p>and I need to be able to access the items under
  &quot;features&quot;:, [ and then within that, items under
  &quot;properties&quot;: {</p>
  <p>How can I get feed parser to get all the sub-elements in the feed?</p>