title: how can I grab an image from html, the image is not in img tag but under div class='blah blah'
body: <p>I learned today how to grab an image from the internet using <code>BeautifulSoup.select('blahblah')</code> on Python and how to download them on my mac.</p>
  <p>I was able to download photos which were in the <code>img</code> tag and find them like so:
  <code>src='http or // blah blah'</code>.</p>
  <p>But I can not find any <code>.jpg</code> or <code>.png</code> parts under <code>'div' class='something else'</code>.</p>
  <p>The image I wanted to download is not just an image but also seems to have other functions such as showing login popup and has a button on it to make the image bigger.</p>
  <pre><code>import lxml
  import bs4
  import requests
  
  rec = requests.get('https://www.pinterest.com/pin/701294973197421148/')
  soup_rec = bs4.BeautifulSoup(rec.text, 'lxml')
  
  soup_rec
  
  soup_rec.select('div.zI7.iyn.Hsu') # I just type this way to try anything.
  </code></pre>
  <p>The image I tried to download is an actress's photo in the middle of a Pinterest page.</p>