aboutsummaryrefslogtreecommitdiff
path: root/httracker
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-08-27 12:35:54 -0300
committerSilvio Rhatto <rhatto@riseup.net>2013-08-27 12:35:54 -0300
commitf58e4867180e1298af9684cbf787d7ff3764a31a (patch)
tree333b0a2f933f53b5f15b9ec26579e1a6b9d79838 /httracker
parentbd8e556a981edc1f2e927a04f0501e29ab40f174 (diff)
downloadhttruta-f58e4867180e1298af9684cbf787d7ff3764a31a.tar.gz
httruta-f58e4867180e1298af9684cbf787d7ff3764a31a.tar.bz2
Parsing html entities in the URLs so we get the right hash
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."