fandreuz / TUI-ConsoleLauncher

Linux CLI Launcher for Android
Other
1.23k stars 256 forks source link

Search query is not being input into google #374

Open Ri25tch opened 1 year ago

Ri25tch commented 1 year ago

If I type for example "Search dogs" or "search -gg dogs" (and no I don't add the quotes) lol This would then input dogs into the Google search field. This is no longer the case. No matter my input through tui, All it does is bring me to Google with an empty search field. Although I do notice that the quarry is being input into the address bar but zero attempts at a search of any kind. I am using a Galaxy z fold 3 Android 13 UI 5.0

s99h commented 1 year ago

It seems as if Google changed the search address. In TUI-ConsoleLauncher/app/src/main/java/ohi/andre/consolelauncher/commands/main/raw/search.java is a line 23. It contains this definition:

GOOGLE_PREFIX = "http://www.google.com/#q=";

But i think it should be: GOOGLE_PREFIX = "https://www.google.de/search?q=%"

My workaround:

Good luck!

Ri25tch commented 1 year ago

Thank you, creating an alias was always an easy workaround I was just letting you know more so that the "search" function quit working in the app itself. Not sure why. And aside from unpacking the APK and poking around all willy nilly lol wasn't sure I was going to find the problem.

On Sun, Jan 15, 2023, 03:00 s99h @.***> wrote:

  • Add this line in your t-ui/alias.txt: google=search -u https://www.google.de/search?q=%
  • Save alias.txt
  • Restart t-ui using the commandline: restart
  • Use your new alias from commandline to search for dogs: google dogs

Gold luck!

— Reply to this email directly, view it on GitHub https://github.com/fAndreuzzi/TUI-ConsoleLauncher/issues/374#issuecomment-1383094473, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACYCNE5UV7TOJKJX2R6C7WLWSO4EXANCNFSM6AAAAAAT3Q5IOA . You are receiving this because you authored the thread.Message ID: @.***>

abraxas86 commented 1 year ago

I'm getting this now as well... (⁠╯⁠°⁠□⁠°⁠)⁠╯⁠︵⁠ ⁠┻⁠━⁠┻

It's kind of especially frustrating because search?= has been the prefix for over a decade. Maybe the app has a different trigger or something? Is this git still updated - are we likely to get an updated APK to install?

akashpal-21 commented 1 year ago

@abraxas86 doesnt seem likely, this app is abandoned, I tried compiling it myself but I have never compiled a gradle project before and I couldnt configure it to compile. Such a shame the developer neglect this to this extent. I am not aware of any actively maintained fork too. It seems no one really cares about this project anymore.

abraxas86 commented 1 year ago

@abraxas86 doesnt seem likely, this app is abandoned, I tried compiling it myself but I have never compiled a gradle project before and I couldnt configure it to compile. Such a shame the developer neglect this to this extent. I am not aware of any actively maintained fork too. It seems no one really cares about this project anymore.

Bummer... Maybe GPT4 can figure it out, or maybe we can twist Francesco's arm to give us an update. Wonder how much of a donation that would take 😂

igotapochahontas commented 11 months ago

This workaround is great! Is there a similar one for the YouTube app? It's doing the same thing to me.