update OC.DE GPX URI
[useful-scripts/mirkarte.git] / gpx.sh
diff --git a/gpx.sh b/gpx.sh
index 963ec04..cccade6 100755 (executable)
--- a/gpx.sh
+++ b/gpx.sh
@@ -371,7 +371,7 @@ case $wp {
 
 # redirections
 if [[ $wptype = oc ]]; then
-       i=$("${fetch[@]}" "http://www.opencaching.de/search.php?searchbywp=1&showresult=1&output=GPX&f_inactive=0&f_ignored=0&wp=$wp" \
+       i=$("${fetch[@]}" "https://www.opencaching.de/search.php?searchbywp=1&showresult=1&output=GPX&f_inactive=0&f_ignored=0&wp=$wp" \
            2>/dev/null)
        [[ $i = *'<wpt'* ]] || exit 1
        print -r -- "$i"