title: How to get src attribute from <image/> with Python
body: <p>I am scraping data from one site, and I need to find one img.
  I get it but the output is not what I need.</p>
  
  <p>I have tried looking online for solutions, changing code but nothing worked.</p>
  
  <pre><code>r = requests.get(baseurl)
  content = r.content
  soup = BeautifulSoup(content, "html.parser")
  
  images = soup.findAll('img')[1]
  print(images)
  </code></pre>
  
  <p>Output I get: </p>
  
  <pre><code>&lt;img src="https://cdn.rubyrealms.com/images/WKpivrdGBJJ9p6etIY2aJpixikFj4vnpmpPR9pXjK4Y8K.png" style="border-radius: 5px"/&gt;
  </code></pre>
  
  <p>Output I need: </p>
  
  <pre><code>cdn.rubyrealms.com/images/WKpivrdGBJJ9p6etIY2aJpixikFj4vnpmpPR9pXjK4Y8K.png
  </code></pre>
  
  <p>(I tried print(images.text))</p>