Skip to content

Instantly share code, notes, and snippets.

@mokurin000
Created June 10, 2022 11:02
Show Gist options
  • Select an option

  • Save mokurin000/ebda794afdd1ea4fbfd12d4aa8707674 to your computer and use it in GitHub Desktop.

Select an option

Save mokurin000/ebda794afdd1ea4fbfd12d4aa8707674 to your computer and use it in GitHub Desktop.
function transport_query() {
transport_id="$1"
if [ x != x$transport_id ]
then xdg-open "https://m.kuaidi100.com/result.jsp?nu=$transport_id" &> /dev/null
fi
}
@mokurin000

Copy link
Copy Markdown
Author

快递100支持国内和国际快递查询,这个函数会用它的移动网页版查询……
this script works with international transport as well but this website is using server in China

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment