update the search function
This commit is contained in:
1 parent
5364e3e3e1
commit
3fcdffd727
3 files changed
+2
-2
No files matched your search
+2
-2
@@ -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