Parsing HTML in Bash

Share
  • December 5, 2020
I have a process where I need to copy all the images from a web page. I used to run this process with xmllint, which will process an XML or HTML file and print out the entries you specify. But when my server host provider upgraded their systems, they didn’t include xmllint. So I had to find another way to extract a list of images from an HTML page. It turns out you can do this in Bash.

Read This Article on CloudSavvy IT ›

Source : Parsing HTML in Bash