-
Notifications
You must be signed in to change notification settings - Fork 872
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
ERROR: Sorry, couldn't find any help with that topic (use --explain to learn why) #489
Comments
Same with the program installed from nix (latest version). The result page for me is the fullscreen google cookie consent request page(it's always asked the first time you use google). |
Are you in the US, or another country? I hear that people can get this error outside the US or from machines that don't have cookies set from Google. |
I'm in Italy, the european privacy regulation is very strict so probably this is the cause. |
Thanks for letting me know. If you can figure out a way to accept the cookies I would accept a pull request. It seems to impact many people. |
I find using beautifulsoup is very unreliable as your search engine provider can break it at any moment. I had more luck in the past using ❯ which howdoi
howdoi () {
if [[ $# -eq 0 ]]
then
echo "Usage: howdoi <question>"
return 1
else
gh copilot explain "How do I $@ ?"
fi
return 0
}
❯ howdoi show my ip for ssh
Welcome to GitHub Copilot in the CLI!
version 0.5.3-beta (2023-11-09)
I'm powered by AI, so surprises and mistakes are possible. Make sure to verify any generated code or suggestions, and share feedback so that we can learn and improve.
Explanation:
To display your IP address for SSH, you can run the following command:
• curl -s ifconfig.me: This uses curl to issue a web request to ifconfig.me and
retrieves your public IP address. The -s flag is used to suppress the progress
meter and only display the IP address.
Alternatively, you can use other services such as:
• curl -s checkip.amazonaws.com: This uses curl to retrieve your public IP
address from the checkip.amazonaws.com service.
Please note that these commands will display your public IP address, which
might be different from your local/private IP address within your network. |
Hey, fellow European here, anyone has found a workaround? |
Ok, after a bit of messing, I have a workaround. Apparently google no longer cares about the CONSENT COOKIE, you want to use the SOCS one. I edited the source code directly (do "which howdoi" and cat the path provided to check where the source is for your case) On howdoi.py, line 182 _get_result(url) function, add a SOCS cookie from your own browser. I am unsure how ephemeral this cookie is so perhaps a better solution is needed, and one that is embedded upstream I guess. All things considered, howdoi should not be expected to grab cookies from your browser as that would be potentially malicious behaviour, I will let the wizards work out their magic as to how to provide some functionality for us European cookie 🍪 nerds |
Hello, export HOWDOI_SEARCH_ENGINE=duckduckgo ( btw in linux to get the current vm's ip : 'wizards work out their magic' haha what does it mean ? |
What happened:
What you expected to happen:
An answer of some sort. Like
ip address show
or evenifconfig
or something.Output with
--explain
Please provide the output of running the same command with the
--explain
flag like soClick here to expand the logs
Using
howdoi
from the AUR:The text was updated successfully, but these errors were encountered: