[Surfraw-commits] [surfraw] 03/03: Elvi cleanup (g-m).
Kyle Isom
kyle-guest at moszumanska.debian.org
Fri Mar 10 16:53:38 UTC 2017
This is an automated email from the git hooks/post-receive script.
kyle-guest pushed a commit to branch kyle/https-elvi
in repository surfraw.
commit 01c43f5b5b5f9727b1c784a6377b913de001e061
Author: Kyle Isom <kyle at imap.cc>
Date: Thu Mar 9 14:51:20 2017 -0800
Elvi cleanup (g-m).
+ Multiple elvi redirect to https, so the elvi have been switched
to default to the https version of the site.
---
elvi/gcache | 6 +++---
elvi/genbugs | 4 ++--
elvi/genportage | 4 ++--
elvi/gmane | 2 +-
elvi/google | 2 +-
elvi/gutenberg | 4 ++--
elvi/jamendo | 4 ++--
elvi/jquery | 4 ++--
elvi/lastfm | 4 ++--
elvi/leodict | 4 ++--
elvi/lsm | 6 +++---
elvi/macports | 2 +-
elvi/mdn | 2 +-
elvi/musicbrainz | 6 +++---
elvi/mysqldoc | 2 +-
15 files changed, 28 insertions(+), 28 deletions(-)
diff --git a/elvi/gcache b/elvi/gcache
index 8dae92a..6c4a428 100755
--- a/elvi/gcache
+++ b/elvi/gcache
@@ -38,12 +38,12 @@ if !( test -n "$SURFRAW_lang" ); then
fi
if test -z "$w3_args"; then
- w3_browse_url "http://www.google.com/intl/$SURFRAW_lang/help/features_list.html#cached"
+ w3_browse_url "https://www.google.com/intl/$SURFRAW_lang/help/features_list.html#cached"
else
escaped_args=`w3_url_of_arg $w3_args`
if [ "$SURFRAW_cache_graphic" = 1 ]; then
- w3_browse_url "http://www.google.com/search?q=cache:${escaped_args}&hl=$SURFRAW_lang"
+ w3_browse_url "https://www.google.com/search?q=cache:${escaped_args}&hl=$SURFRAW_lang"
else
- w3_browse_url "http://www.google.com/search?q=cache:${escaped_args}&hl=$SURFRAW_lang&strip=1"
+ w3_browse_url "https://www.google.com/search?q=cache:${escaped_args}&hl=$SURFRAW_lang&strip=1"
fi
fi
diff --git a/elvi/genbugs b/elvi/genbugs
index c4f9c5b..457a128 100755
--- a/elvi/genbugs
+++ b/elvi/genbugs
@@ -16,9 +16,9 @@ w3_parse_args "$@"
# w3_args now contains a list of arguments
if test -z "$w3_args"; then
- w3_browse_url "http://bugs.gentoo.org/"
+ w3_browse_url "https://bugs.gentoo.org/"
else
escaped_args=`w3_url_of_arg $w3_args`
terms=`echo $escaped_args | sed 's/%20/+/g'`
- w3_browse_url "http://bugs.gentoo.org/buglist.cgi?quicksearch=${terms}"
+ w3_browse_url "https://bugs.gentoo.org/buglist.cgi?quicksearch=${terms}"
fi
diff --git a/elvi/genportage b/elvi/genportage
index 61bfbe7..9e73f1c 100755
--- a/elvi/genportage
+++ b/elvi/genportage
@@ -21,8 +21,8 @@ w3_config
w3_parse_args "$@"
# w3_args now contains a list of arguments
if test -z "$w3_args"; then
- w3_browse_url "http://gpo.zugaina.org"
+ w3_browse_url "https://gpo.zugaina.org"
else
escaped_args=`w3_url_of_arg $w3_args`
- w3_browse_url "http://gpo.zugaina.org/Search?search=${escaped_args}"
+ w3_browse_url "https://gpo.zugaina.org/Search?search=${escaped_args}"
fi
diff --git a/elvi/gmane b/elvi/gmane
index 23dc35e..a556d2a 100755
--- a/elvi/gmane
+++ b/elvi/gmane
@@ -52,7 +52,7 @@ if test -z "$w3_args"
then
if ifyes SURFRAW_gmane_listsearch
then
- url=http://gmane.org/find.php
+ url=https://gmane.org/find.php
else
url=http://search.gmane.org/
fi
diff --git a/elvi/google b/elvi/google
index df180c3..d2bba19 100755
--- a/elvi/google
+++ b/elvi/google
@@ -92,7 +92,7 @@ case "$SURFRAW_google_safe" in
off) safe="&safe=off" ;;
esac
-url="http://"
+url="https://"
if test -z "$w3_args" ; then
case "$SURFRAW_google_search" in
diff --git a/elvi/gutenberg b/elvi/gutenberg
index cbbae2a..d51e269 100755
--- a/elvi/gutenberg
+++ b/elvi/gutenberg
@@ -38,7 +38,7 @@ w3_config
w3_parse_args "$@"
# w3_args now contains a list of arguments
if test -z "$w3_args"; then
- w3_browse_url "http://www.gutenberg.org/"
+ w3_browse_url "https://www.gutenberg.org/"
else
escaped_args=`w3_url_of_arg $w3_args`
if ifno SURFRAW_gutenberg_author &&
@@ -48,7 +48,7 @@ else
SURFRAW_gutenberg_title=1
fi
- url="http://www.gutenberg.org/catalog/world/results?"
+ url="https://www.gutenberg.org/catalog/world/results?"
if ifyes SURFRAW_gutenberg_author
then
url="$url&author=${escaped_args}"
diff --git a/elvi/jamendo b/elvi/jamendo
index eb0beb8..b2b2904 100755
--- a/elvi/jamendo
+++ b/elvi/jamendo
@@ -49,7 +49,7 @@ fi
if test -z "$w3_args"; then
- w3_browse_url "http://www.jamendo.com/${SURFRAW_jamendo_lang}/search"
+ w3_browse_url "https://www.jamendo.com/${SURFRAW_jamendo_lang}/search"
else
case "$SURFRAW_jamendo_lang" in
en|english) setopt SURFRAW_jamendo_lang en ;;
@@ -63,6 +63,6 @@ else
*) setopt SURFRAW_jamendo_lang en ;;
esac
escaped_args=`w3_url_of_arg $w3_args`
- w3_browse_url "http://www.jamendo.com/${SURFRAW_jamendo_lang}/search?qs=q=${escaped_args}"
+ w3_browse_url "https://www.jamendo.com/${SURFRAW_jamendo_lang}/search?qs=q=${escaped_args}"
fi
diff --git a/elvi/jquery b/elvi/jquery
index 195301e..b36111d 100755
--- a/elvi/jquery
+++ b/elvi/jquery
@@ -17,8 +17,8 @@ w3_config
w3_parse_args "$@"
# w3_args now contains a list of arguments
if test -z "$w3_args"; then
- w3_browse_url "http://api.jquery.com/"
+ w3_browse_url "https://api.jquery.com/"
else
escaped_args=`w3_url_of_arg $w3_args`
- w3_browse_url "http://api.jquery.com?s=${escaped_args}"
+ w3_browse_url "https://api.jquery.com?s=${escaped_args}"
fi
diff --git a/elvi/lastfm b/elvi/lastfm
index 563ba61..6296426 100755
--- a/elvi/lastfm
+++ b/elvi/lastfm
@@ -33,10 +33,10 @@ w3_parse_args "$@"
# w3_args now contains a list of arguments
if test -z "$w3_args"; then
- w3_browse_url "http://last.fm/"
+ w3_browse_url "https://last.fm/"
else
escaped_args=`w3_url_of_arg $w3_args`
- url="http://last.fm/search?q=${escaped_args}"
+ url="https://last.fm/search?q=${escaped_args}"
if ifno SURFRAW_lastfm_redirect
then
url="${url}&noredirect=1"
diff --git a/elvi/leodict b/elvi/leodict
index 6188a81..3f0c237 100755
--- a/elvi/leodict
+++ b/elvi/leodict
@@ -67,10 +67,10 @@ EOF
w3_config
w3_parse_args "$@"
if test -z "$w3_args"; then
- w3_browse_url "http://dict.leo.org/"
+ w3_browse_url "https://dict.leo.org/"
else
escaped_args=`w3_url_of_arg $w3_args`
- url="http://dict.leo.org/?search=${escaped_args}"
+ url="https://dict.leo.org/?search=${escaped_args}"
case "$SURFRAW_leodict_lang" in
en|de) ;;
diff --git a/elvi/lsm b/elvi/lsm
index 7d128bc..927a4a0 100755
--- a/elvi/lsm
+++ b/elvi/lsm
@@ -35,13 +35,13 @@ w3_config
w3_parse_args "$@"
# w3_args now contains a list of arguments
if test -z "$w3_args"; then
- w3_browse_url "http://www.boutell.com/lsm/"
+ w3_browse_url "https://www.boutell.com/lsm/"
else
escaped_args=`w3_url_of_arg $w3_args`
if [ "$SURFRAW_lsm_search" = "keyword" ]; then
- url="http://www.boutell.com/lsm/lsmbykey.cgi/submit?keyword=${escaped_args}"
+ url="https://www.boutell.com/lsm/lsmbykey.cgi/submit?keyword=${escaped_args}"
else
- url="http://www.boutell.com/lsm/lsmbytitle.cgi/submit?title=${escaped_args}"
+ url="https://www.boutell.com/lsm/lsmbytitle.cgi/submit?title=${escaped_args}"
fi
w3_browse_url "${url}"
fi
diff --git a/elvi/macports b/elvi/macports
index 3b81d80..42ca42b 100755
--- a/elvi/macports
+++ b/elvi/macports
@@ -41,7 +41,7 @@ w3_parse_args "$@"
# w3_args now contains a list of arguments
escaped_args=$(w3_url_of_arg $w3_args)
-url="http://www.macports.org/ports.php"
+url="https://www.macports.org/ports.php"
if [ -n "$escaped_args" ]
then
url="${url}?by=${SURFRAW_macports_by}&substr=${escaped_args}"
diff --git a/elvi/mdn b/elvi/mdn
index d6ac037..c883b29 100755
--- a/elvi/mdn
+++ b/elvi/mdn
@@ -17,7 +17,7 @@ w3_config
w3_parse_args "$@"
if test -z "$w3_args"
then
- w3_browse_url "http://developer.mozilla.org"
+ w3_browse_url "https://developer.mozilla.org"
else
w3_custom_search -s=developer.mozilla.org "$w3_shquoted_args"
fi
diff --git a/elvi/musicbrainz b/elvi/musicbrainz
index 3f3b4b9..84b1fd0 100755
--- a/elvi/musicbrainz
+++ b/elvi/musicbrainz
@@ -24,7 +24,7 @@ Description:
Local options:
-d Direct (old) search.
-a Enable advanced query syntax. See:
- http://musicbrainz.org/popup/TextSearchSyntax
+ https://musicbrainz.org/popup/TextSearchSyntax
-results=NUM Number of search results returned
Default: $SURFRAW_musicbrainz_results
Environment: SURFRAW_musicbrainz_results
@@ -124,10 +124,10 @@ if test -z "$w3_args" &&
test -z "$SURFRAW_musicbrainz_tagpuid" &&
test -z "$SURFRAW_musicbrainz_tagfile"
then
- w3_browse_url "http://musicbrainz.org/search.html"
+ w3_browse_url "https://musicbrainz.org/search.html"
else
escaped_args=`w3_url_of_arg $w3_args`
- url="http://musicbrainz.org"
+ url="https://musicbrainz.org"
if ifyes SURFRAW_musicbrainz_direct
then
case "$SURFRAW_musicbrainz_search" in
diff --git a/elvi/mysqldoc b/elvi/mysqldoc
index 4bd6917..efcd6d0 100755
--- a/elvi/mysqldoc
+++ b/elvi/mysqldoc
@@ -47,7 +47,7 @@ then
*[34]*) inurl="/doc/refman/4.1/en/" ;;
*) inurl="/doc/"
esac
- w3_browse_url "http://dev.mysql.com${inurl}"
+ w3_browse_url "https://dev.mysql.com${inurl}"
else
case "$SURFRAW_mysqldoc_version" in
all) inurl="-u=doc" ;;
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/surfraw/surfraw.git
More information about the Surfraw-commits
mailing list