diff options
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." |