title: Getting item price with Web Scraping
body: <p>I would like to make a <em>Python</em> script, but unfortunately, when I want to check the price, I get <code>NONE</code> instead of the price itself (or US$00.00 if I change the code).
  I found a lot of examples for it, where the <em>HTML</em> is with <code>id</code>, but I do not know how I should do it with <code>class</code>.</p>
  <p>What I have so far:</p>
  <pre class="lang-py prettyprint-override"><code>import requests
  from bs4 import BeautifulSoup
  
  
  URL = 'https://www.banggood.com/BlitzWolf-BW-LT32-2M-USB-RGB-TV-Strip-Light-Kit-Sync-with-TV-Screen-Color-3-Sides-Cover-for-TV-Vivid-RGB-Color-Lighting-Effect-and-Dual-Simple-Control-p-1785284.html?akmClientCountry=HU&amp;channel=facebookads&amp;utm_source=facebookads&amp;utm_medium=cpc&amp;utm_campaign=app-dpa-all-ww-sm-afpur180-0407_prdshare_msg&amp;utm_content=suki&amp;utm_design=-&amp;fbclid=IwAR3cAovrze4opttuwwpUxnXZ6dkRjhau3RqmDqASPW0mSEOI8sJgn9Cqss8&amp;_branch_match_id=850392564428961100&amp;cur_warehouse=CN&amp;ID=45764'
  
  headers = {&quot;User-Agent&quot;: 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537'}
  
  page = requests.get(URL, headers=headers)
  
  soup = BeautifulSoup(page.content, 'html.parser')
  
      title = soup.find(&quot;span&quot;,{&quot;class&quot;:'product-title-text'}).get_text()
      price = soup.find(&quot;span&quot;,{&quot;class&quot;:'main-price'}).get_text()
  
  
  converted_price = price[0:5]
  
  print(converted_price)
  print(title)
  </code></pre>