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

A "Search" Command #2

Open
renodubois opened this issue Apr 28, 2018 · 3 comments
Open

A "Search" Command #2

renodubois opened this issue Apr 28, 2018 · 3 comments

Comments

@renodubois
Copy link
Member

Similar to Dyno's ?g command, but probably using something like DuckDuckGo so we don't get yelled at for trying to circumvent Google ads.

Usage:

.s nice meme
@renodubois
Copy link
Member Author

DuckDuckGo doesn't have an API support, so our options are either to scrape the website for results (see: Nadeko's implementation) or use a free search API.

@CastroDan
Copy link
Contributor

To clarify the DDG situation, it does have an API but only provides instant results for a select number of sites (wikipedia, github, etc.). Because of this, we won't be able to scrape DDG either, since the actual results will be missing from the html DDG sends back as a response.

Also, I don't know if it's just me, but the SeekStorm website seems to be completely unresponsive

@CastroDan
Copy link
Contributor

Scraping the results from a google response also apparently violates their Terms of Service, so we definitely can't do that either.

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

2 participants