aboutsummaryrefslogtreecommitdiff
path: root/httracker
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-08-25 20:02:27 -0300
committerSilvio Rhatto <rhatto@riseup.net>2013-08-25 20:02:27 -0300
commit9b776add4b73348db605dc988ba99f83d281cdbd (patch)
treec693498e44ca5e8ecba62fd1891df94ccec3c971 /httracker
parent32d0733a7ad32017649f0c0a5ac2b82e85af38db (diff)
downloadhttruta-9b776add4b73348db605dc988ba99f83d281cdbd.tar.gz
httruta-9b776add4b73348db605dc988ba99f83d281cdbd.tar.bz2
Cleanup
Diffstat (limited to 'httracker')
-rwxr-xr-xhttracker4
1 files changed, 2 insertions, 2 deletions
diff --git a/httracker b/httracker
index 385035c..5967e4a 100755
--- a/httracker
+++ b/httracker
@@ -6,13 +6,13 @@
# Configuration
source config || exit 1
-# Load functions
+# Functions
source lib/httracker/functions || exit 1
# Create folders
mkdir -p $MIRRORS $TMP
-# Get URL
+# 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