title: Extracting image caption and image url using BeautifulSoup
body: <p>I am trying to extract the image url and image caption from an article using BeautifulSoup. I can separate the article's image url and image caption from the preceding and following HTML but I can not figure out how to separate these two from their html tags . Here is my code:</p>
  
  <pre><code>from bs4 import BeautifulSoup
  import requests
  url = 'http://www.prnewswire.com/news-releases/dutch-philosopher-
  koert-van-mensvoort-founder-of-the-next-nature-network-writes-a-
  letter-to-humanity-619925063.html'
  r = requests.get(url)
  html = r.text
  soup = BeautifulSoup(html, 'lxml')
  links = soup.find_all('div', {'class': 'image'})
  </code></pre>
  
  <p>The two sections I am trying to extract are the src= and the title= sections. Any ideas on how to accomplish these two parses would be appreciated.</p>