title: Scraping itemprop="name" in BeatifulSoup in Python
body: <pre><code>names = soup.find_all('meta', itemprop='name')
  prices = soup.find_all('span', class_='price product-price')
  
  for price, name in zip(prices, names):
      modelName = name
      modelPrice = price.text
      csv_writer.writerow([modelName, modelPrice])
  print('Parsing prices: DONE')
  csv_file.close()
  </code></pre>
  
  <p>After this code, i'm exporting it to csv file and get something like this:          </p>
  
  <pre><code>    "
  "&lt;meta content=""TEXT HERE"" itemprop=""name""&gt;
  &lt;/meta&gt;","
            PRICE HERE
  </code></pre>
  
  <p>I want to get rid of exported code, i need just a name and price. Code of website looks this: </p>
  
  <pre><code>&lt;a itemprop="name" class="product-name listgrid" href="https://websitename.com" title="Name of needed model to parse&lt;/a&gt;
  </code></pre>