update the search function
This commit is contained in:
@@ -14,7 +14,7 @@ print_help() {
|
||||
|
||||
search_package() {
|
||||
local package=$1
|
||||
curl https://pypi.org/project/$package/\#files -s | grep -Eo https://files\.+$package\.+whl > urls.txt
|
||||
curl https://pypi.org/project/$package/\#files -s | grep -Eo https://files\.+\.+whl > urls.txt
|
||||
}
|
||||
|
||||
download_package() {
|
||||
@@ -59,4 +59,4 @@ main() {
|
||||
fi
|
||||
}
|
||||
|
||||
main $@
|
||||
main $@
|
||||
|
||||
Reference in New Issue
Block a user