Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

no result #200

Open
ghost opened this issue Jan 12, 2022 · 10 comments
Open

no result #200

ghost opened this issue Jan 12, 2022 · 10 comments

Comments

@ghost
Copy link

ghost commented Jan 12, 2022

  • shell
  • Operating system/version:
  • Terminal name/version:
  • Location:
  • $TERM

Steps to Reproduce the Problem

Expected Behavior

Actual Behavior

Log

@ghost
Copy link
Author

ghost commented Jan 12, 2022

when I type "I want to call" in smokin, I get the error no result

@apprehensions
Copy link

same, except literally nothing works

@PureArtistry
Copy link
Collaborator

Hi, this script is kind of abandoned, there were a number of other bugs before this broke it altogether.
The script had become overly complicated and shell was not the ideal language for what we wanted it to do.

I have made a fork of this in rust that you can find here
and @BeyondMagic (another collaborator on this project) has a C++ fork in the works here

sorry about this, if you want to carry on using this script, changing line 886

from:

user_agent="Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:53.0) Gecko/20100101 Firefox/53.0"

to:

user_agent="Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) QtWebEngine/5.15.2 Chrome/87.0.4280.144 Safari/537.36"

might get it working again (you could also try different user agents, that is the root of the problem)

@ghost
Copy link
Author

ghost commented Jan 14, 2022

i did, but I'm still getting the same error

@apprehensions
Copy link

Hi, this script is kind of abandoned, there were a number of other bugs before this broke it altogether.
The script had become overly complicated and shell was not the ideal language for what we wanted it to do.

aight i'll just try them i guess

@ghost
Copy link
Author

ghost commented Jan 14, 2022

i finally did it, thank you, it was like you said, it comes when I restart the computer

@ej-sanmartin
Copy link

Rip that this project got abandoned

@ej-sanmartin
Copy link

ej-sanmartin commented Feb 20, 2022

@PureArtistry your fix did the trick for me, was not outputting any results before that change. Most functionalities seem to be working but items that you'd expect a list are not working.

Examples queries like:

$ tuxi "what is the cast of Iron Man"
$ tuxi "top 5 places to visit in NYC"

Outputs the definitions of "Iron Man" and "NYC", respectively.

Also language queries, like tuxi "I love you in spanish" do not work. Just outputs links.

I'll make a PR with your change so those who attempt to download this command at least get some functionalities to work.

@antimike
Copy link

@PureArtistry Any chance you could archive this repo (possibly after @ej-sanmartin's fix is merged)? Seems like a good idea at this point to avoid frustrating new users...

@fboumol
Copy link

fboumol commented Jun 5, 2022

Easy Fix: replace in the shell tuxi script the (unique) call to "curl" with any of the binaries provided at https://github.com/lwthiker/curl-impersonate In particular I have used "curl_chrome99" and now it works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants