title: Get the background-image from tag
body: <p>I wanted to download images from Flickr, and so far I did this:</p>
  <pre><code>import bs4, requests, re
  
  img = requests.get('https://www.flickr.com/search/?text=nature')
  img.raise_for_status()
  
  soup = bs4.BeautifulSoup(img.text)
  
  elem = soup.select('main div div div div')
  elem[10]
  &lt;div class=&quot;view photo-list-photo-view requiredToShowOnServer awake&quot; 
    data-view-signature=&quot;photo-list-photo-view__UA_1__engagementModelName_photo-lite-models__excludePeople_true__id_8598154512__interactionViewName_photo-list-photo-interaction-view__isMobile_false__isOwner_false__layoutItem_1__measureAFT_true__model_1__modelParams_1__openAdvanced_false__parentContainer_1__parentSignature_photolist-47t__requiredToShowOnClient_true__requiredToShowOnServer_true__rowHeightMod_1__searchSimilar_true__searchSimilarWithTerm_false__searchTerm_nature__searchType_1__showAdvanced_true__showInteractionBarPlaceholder_false__showSort_true__showTools_true__sortMenuItems_1__unifiedSubviewParams_1__viewType_jst&quot; 
    style=&quot;transform: translate(277px, 191px); -webkit-transform: translate(277px, 191px); -ms-transform: translate(277px, 191px); width: 364px; height: 205px; background-image: url(//c1.staticflickr.com/9/8232/8598154512_a4e080002d.jpg)&quot;&gt; 
    &lt;div class=&quot;interaction-view&quot;&gt;&lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  <p>Can you help me to get the background image from the style tag in Elem?</p>