title: Scraping prices from Opensea
body: <p>I'm trying to scrape data from the website opensea, simply prices and token id for now. Thus I used requests and beautifulsoup in order to iterate through the different items of a collection and then put all the files. Problem is I get an error message regarding line 10 I don't understand. If anyone has an idea how I could do this I would be very glad. Regards</p>
  <pre><code>import requests
  from bs4 import BeautifulSoup
  bs = BeautifulSoup
  datas = {}
  for i in range(0, 20):
      p = str(i)
      url = &quot;https://api.opensea.io/api/v1/asset/0xbc4ca0eda7647a8ab7c2061c2e118a18a936f13d/&quot; + p + &quot;/&quot;
      response = requests.get(url)
      tokenid = i
      a = bs.find(&quot;div&quot;, class_=&quot;Overflowreact__OverflowContainer-sc-10mm0lu-0 gjwKJf Price--amount&quot;)
      datas = {tokenid: a}
  
  print(datas)
  </code></pre>