title: 'NoneType' object has no attribute 'decode'
body: <p>I practice writing some code to get top repositories of Python from GitHub and this is the error I see:</p>
  
  <p><a href="https://i.stack.imgur.com/J3Gho.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/J3Gho.png" alt="enter image description here"></a></p>
  
  <p>this is the code which causes above stated error:</p>
  
  <pre><code>import requests 
  import pygal
  from pygal.style import LightColorizedStyle as LCS, LightenStyle as LS
  
  
  path = 'https://api.github.com/search/repositories?q=language:python&amp;sort=stars'
  
  r = requests.get(path)
  
  response_dict = r.json()
  
  # Explore information about the repositories.
  repo_dicts = response_dict['items']
  
  names, plot_dicts = [], []
  for repo_dict in repo_dicts:
      names.append(repo_dict['name'])
      plot_dict = {
          'value': repo_dict['stargazers_count'],
          'label': repo_dict['description'],
          'xlink': repo_dict['html_url'],
      }
      plot_dicts.append(plot_dict)
  
  my_style = LS('#333366', base_style=LCS)
  # Make visualization.
  my_config = pygal.Config()
  chart = pygal.Bar(my_config, style=my_style)
  
  
  my_style = LS('#333366', base_style=LCS)
  chart.title = 'Most-Starred Python Projects on GitHub'
  chart.x_labels = names
  
  chart.add('', plot_dicts)
  chart.render_to_file('python_repos.svg')
  </code></pre>
  
  <p>Can you help me with this please. Thank you</p>