Reputation: 2263
While web scrapping I'm trying to download the images that appear on a page on the mouseover action. You can see below how 2 pictures are identified in the code. How can I download them?
I'm using Splinter, but could use Selenium or another python library.
Thank you in advance
<div id="item712" class="genre scanme ui-draggable ui-draggable-handle" scan="true" style="color: rgb(58, 56, 28); top: 297.377px; left: 566.691px; z-index: 29;" onmouseover="playx("img311.jpg", "712", "1.18*Pain + 1.09*Disappointment + 0.96*Sadness", this);" onmouseout="unplayx("img311.jpg", "1", this);" title="712">M<br></div>
<div id="item713" class="genre scanme ui-draggable ui-draggable-handle" scan="true" style="color: #D1D197; top: 387.1925px; left: 717.9348px;" onmouseover="playx("img312.jpg", "713", "3.93*Pain + 2.70*Sadness", this);" onmouseout="unplayx("img312.jpg", "1", this);" title="713">M<br></div>
Upvotes: 0
Views: 33