Преглед на файлове

Fix URLs without a path

master
JustAnotherArchivist преди 1 година
родител
ревизия
4798154e98
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. +1
    -1
      ia-cdx-search-subdomains

+ 1
- 1
ia-cdx-search-subdomains Целия файл

@@ -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"

Зареждане…
Отказ
Запис