From f58e4867180e1298af9684cbf787d7ff3764a31a Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Tue, 27 Aug 2013 12:35:54 -0300 Subject: Parsing html entities in the URLs so we get the right hash --- httracker | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'httracker') diff --git a/httracker b/httracker index 7fc33c1..59fcfa9 100755 --- a/httracker +++ b/httracker @@ -8,7 +8,8 @@ source `dirname $0`/lib/httracker/functions || exit 1 # Get URLs from feed # Thanks http://stackoverflow.com/questions/443991/how-to-parse-rss-feeds-xml-in-a-shell-script -curl -s "$FEED" | grep -o '[^<]*' | grep -o "[^>]*$" > $URLS +curl -s "$FEED" | grep -o '[^<]*' | grep -o "[^>]*$" \ + | `dirname $0`/lib/httracker/html.sed > $URLS if [ "$?" != "0" ]; then echo "Error downloading feed $FEED, aborting." -- cgit v1.2.3