title: Scrapy TypeError: list indices must be integers or slices, not str
body: <p>I want to do increment on each itration of for loop but i get the <strong>TypeError</strong></p>
  
  <blockquote>
    <p>version['version_code'][i] = version_code  <br> TypeError: list
    indices must be integers or slices, not str</p>
  </blockquote>
  
  <pre><code>index = 0
  version = VersionsItem()
  version = []
  for rRow in releaseRows:
  
      #rRow is a string
  
      releasehref = rRow.xpath(".//a/@href").get()
      if releasehref:
          exp = releasehref.replace("/apk/","")
          exp = exp.split("/")
          Vslug = exp[2]
          app_slug = exp[1]
          # #l-speed-root-v2-0-9
          expr = exp[2].replace("-release","")
          expr = expr.split(app_slug+"-",1)[1]
          version_code = expr.replace("-","")
          version_param = expr.replace("-",".")
  
          version['version_code'][index] = version_code
          version['version_param'][index] = version_param
          version['Vslug'][index] = Vslug
          index += 1
  </code></pre>