Very simple script that will help extract all comments off of a web page. The script is self explanatory, it basically reaches out to the site you feed it drops the source in a file then puts the comments in a separate file for you. I plan to build upon this in the future and as time permits.
Code:#!/bin/bash echo -n "Please enter your site: " read site wget $site awk '/<!--/,/-->/' index.html >> comments.txt
Last edited by chap0; 02-03-2012 at 11:10 PM. Reason: Way better solution in less lines ;)