I am trying to use dryscrape to scrape a web page, but is possible to save a particular image from page? It is a normal <img> tag.
2 Answers
From looking at the documentation at https://dryscrape.readthedocs.io/, it does not look like dryscrape supports downloading files. You will have to use a module such as Requests to do this.
Yes you can download image with Dryscrape like that
img_url = sess.xpath("//img")[0]['href']
sess.visit(img_url)
sess.render("image.png")
Try this