diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2013-08-27 12:35:54 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2013-08-27 12:35:54 -0300 |
commit | f58e4867180e1298af9684cbf787d7ff3764a31a (patch) | |
tree | 333b0a2f933f53b5f15b9ec26579e1a6b9d79838 /httracker | |
parent | bd8e556a981edc1f2e927a04f0501e29ab40f174 (diff) | |
download | httruta-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-x | httracker | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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." |