Friday, 4 December 2020

Parsing HTML in Bash


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 ›



from How-To Geek https://ift.tt/3owk5xN

No comments:

Post a Comment