I would like to scrap a website of multi pages and extract a particular div before exporting it to html pages with just the div as content.
I am able to extract data from the content using Xidel with the following command
xidel http://someURl/ --extract //div[2]/div[2]/div -f "//a" -e //div[2]/div[2]/div
Is it possible to download the extracted data into a html file?
add a parameter: --output-format=html