aboutsummaryrefslogtreecommitdiff
path: root/httracker
diff options
context:
space:
mode:
Diffstat (limited to 'httracker')
-rwxr-xr-xhttracker3
1 files changed, 2 insertions, 1 deletions
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 '<link>[^<]*' | grep -o "[^>]*$" > $URLS
+curl -s "$FEED" | grep -o '<link>[^<]*' | grep -o "[^>]*$" \
+ | `dirname $0`/lib/httracker/html.sed > $URLS
if [ "$?" != "0" ]; then
echo "Error downloading feed $FEED, aborting."