I was sifting through National Assessment and Accreditation Council (NAAC) report for Delhi University. The report volumes are available as embedded image files, e.g. Volume 1.
The thought of downloading these image files to club them as a single pdf report led me to Hadley's rvest package a wonderful vignette on using SelectorGadget to interactively identify what css selector you need to extract desired components from a page.
This function scrapes through the web page of each volume to identify "#bb-bookblock img" node and download them into a specified destination folder.