You are not logged in.
Hi all,
currently the elvi aur doesn't work. I've made a patch. It works
--- aur_orig 2020-05-25 18:07:37.000000000 +0200
+++ aur_new 2022-03-11 23:00:58.717131961 +0100
@@ -44,9 +44,10 @@
Default: $SURFRAW_aur_results
Must be in range 25-100
-search= Search for one of...
- name | Package name
- maintainer | Maintainer
- submitter | Submitter
+ n | Package name
+ m | Maintainer
+ s | Submitter
+ N | Exact name
Default: name
-sort= Sort by...
name | Package name
@@ -109,6 +110,7 @@
n*) aur_search_by=nd ;;
m*) aur_search_by=m ;;
s*) aur_search_by=s ;;
+ N*) aur_search_by=N ;;
*) aur_search_by=nd ;;
esac
@@ -139,8 +141,9 @@
else
escaped_args=`w3_url_of_arg $w3_args`
if [ "$SURFRAW_aur_outdated" = 1 ]; then
- w3_browse_url "${SURFRAW_aur_protocol}://aur.archlinux.org/packages.php?O=0&L=0&detail=1&C=${aur_category}&K=${escaped_args}&SeB=${aur_search_by}&SB=${aur_sort_by}&SO=${SURFRAW_aur_order}&PP=${SURFRAW_aur_results}&do_${SURFRAW_aur_action}&outdated=on&setlang=${aur_lang}"
+ w3_browse_url "${SURFRAW_aur_protocol}://aur.archlinux.org/packages?O=0&L=0&detail=1&k=${aur_category}&K=${escaped_args}&SeB=${aur_search_by}&SB=${aur_sort_by}&SO=${SURFRAW_aur_order}&PP=${SURFRAW_aur_results}&do_${SURFRAW_aur_action}&outdated=on&setlang=${aur_lang}"
+
else
- w3_browse_url "${SURFRAW_aur_protocol}://aur.archlinux.org/packages.php?O=0&L=0&detail=1&C=${aur_category}&K=${escaped_args}&SeB=${aur_search_by}&SB=${aur_sort_by}&SO=${SURFRAW_aur_order}&PP=${SURFRAW_aur_results}&do_${SURFRAW_aur_action}&setlang=${aur_lang}"
+ w3_browse_url "${SURFRAW_aur_protocol}://aur.archlinux.org/packages?O=0&L=0&detail=1&K=${aur_category}&K=${escaped_args}&SeB=${aur_search_by}&SB=${aur_sort_by}&SO=${SURFRAW_aur_order}&PP=${SURFRAW_aur_results}&do_${SURFRAW_aur_action}&setlang=${aur_lang}"
fi
fiLast edited by marco.it (2022-03-12 00:18:03)
Linux User: #443055 (http://counter.li.org)
Offline
You can submit it as a PR to the project here: https://gitlab.com/surfraw/Surfraw
Offline
Thanks. I've commented an existing PR
https://gitlab.com/surfraw/Surfraw/-/issues/27
Linux User: #443055 (http://counter.li.org)
Offline
surfraw still broken searching aur, but surfraw-git works well
Offline
Normally Arch packages use the latest stable release, but there was no release since five years. So for this one probably an exception should be considered.
Offline