Parcourir la source

Fix URLs without a path

master
JustAnotherArchivist il y a 1 an
Parent
révision
4798154e98
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. +1
    -1
      ia-cdx-search-subdomains

+ 1
- 1
ia-cdx-search-subdomains Voir le fichier

@@ -12,4 +12,4 @@ fi
domain="${@: -1}"
set -- "${@:1:$(($#-1))}"
scriptpath="$(cd "$(dirname "$0")"; pwd -P)"
"${scriptpath}/ia-cdx-search" "$@" "url=${domain}&collapse=urlkey&fl=original&matchType=domain" | grep -o '^[^/]*//[^/]*' | sed 's,^.*/,,; s,:[0-9]\+$,,' | "${scriptpath}/uniqify"
"${scriptpath}/ia-cdx-search" "$@" "url=${domain}&collapse=urlkey&fl=original&matchType=domain" | grep -o '^[^/]*//[^/"]*' | sed 's,^.*/,,; s,:[0-9]\+$,,' | "${scriptpath}/uniqify"

Chargement…
Annuler
Enregistrer