]> gitweb.fluxo.info Git - scripts.git/commitdiff
Fix: urlinfo verbosity
authorSilvio Rhatto <rhatto@riseup.net>
Sat, 20 Feb 2021 01:46:43 +0000 (22:46 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Sat, 20 Feb 2021 01:46:43 +0000 (22:46 -0300)
urlinfo
urlssave

diff --git a/urlinfo b/urlinfo
index cce2113bc0a42e09bce06b4c1a6b62fecb41b144..cde32fa34a6fbd9d271e9d06cae8edd06a2c4448 100755 (executable)
--- a/urlinfo
+++ b/urlinfo
@@ -16,7 +16,6 @@ if [ -z "$URL" ]; then
 fi
 
 # Dispatch
-echo "Getting info for $URL..."
 DESC="`torify curl --max-redirs 10 -L -s $URL | grep -i "<title>" | sed -n 's/.*<title>\(.*\)<\/title>.*/\1/ip;T;q' 2> /dev/null`"
 
 # YouTube:
index 85c7a6fec6b83ed58c376d1c9c2be51d9f3f61ec..ff0dcf1139900f9156f5c94bbe9b4970ca733baa 100755 (executable)
--- a/urlssave
+++ b/urlssave
@@ -5,5 +5,6 @@
 
 # Dispatch
 while read url; do
+  echo "Saving $url..."
   urlsave $url $*
 done