title: Tracker list indices must be str
body: <p>Okay I am trying to get the people and timestamp in a tracker but I keep getting this error:</p>
  
  <pre><code>list indices must be integer, not str
  </code></pre>
  
  <p>This is the code that gets that error:</p>
  
  <pre><code>elif used_prefix and cmd == "tracker" and self.getAccess(user) &gt;= 1:
     try:
       if len(args) == 0:
          name = user.name.lower()
      elif len(args) &gt; 0:
          name = args.lower()
      f = urlreq.urlopen("http://chtracker.info/index.py?output=json&amp;x=page&amp;y={}".format(name))
      data = json.loads(f.readall().decode("utf-8"))['viewer'][:10]
      t = "{}, the last 10 people who visited {}'s profile are: ".format(name.title(), name.title())
      viewers = [(item['viewer'], item['timestamp']) for item in data]
      for l in viewers:
         viewer, timest = l
         t += "{} about {} ago".format(viewer, stamp.getTimeStamp((timest)))
     room.message(t, True)
  except:
     print(traceback.format_exc())
     room.message((str(sys.exc_info()[1])))
  </code></pre>
  
  <p>The error happens on this line:</p>
  
  <pre><code>data = json.loads(f.readall().decode('utf-8'))['viewer'][:10]
  </code></pre>
  
  <p>Inside the url are dictionarys with the same tags "viewer" and "timestamp" for example:</p>
  
  <pre><code>http://chtracker.info/index.py?output=json&amp;x=page&amp;y=mechabot
  </code></pre>