Social network-like image and video extraction from HTML strings