title: Removing HTML tags and converting to string using JSON?
body: <p>I am using Python.org version 2.7 64 bit on Windows Vista 64 bit. I have the below code, which returns data from the Guardian API:</p>
  
  <pre><code>import requests
  from scrapy.utils.markup import remove_tags
  
  def get_content():
      api_url = 'http://beta.content.guardianapis.com/football'
      payload = {
          'api-key':              '',
          'page-size':            10,
          'show-editors-picks':   'true',
          'show-elements':        'image',
          'show-fields':          'all'
  
      }
      response = requests.get(api_url, params=payload)
      data = response.json() # convert json to python-readable format
      data2 = "".join(data)
      print remove_tags(data2).encode('utf-8')
      return data
  get_content()
  </code></pre>
  
  <p>How do I remove all the HTML tags returned in the result and convert to Unicode? I have done something similar before using XML within scrapy, where the following pieces of logic have worked:</p>
  
  <pre><code>print remove_tags(body2).encode('utf-8')
  </code></pre>
  
  <p>In this examplem 'body2' is a string.</p>
  
  <p>Thanks</p>