浏览代码

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"

正在加载...
取消
保存