DuckDuckGo's I'm Feeling Lucky as a Custom Search Engine String
-
Google's I'm Feeling Lucky feature will take you directly to the first search result bypassing the search results page. But the URL can't be used as a custom serach engine, last I checked.
DDG has a similar feature. Put a backslash at the beginning of the search query to evoke it. Put a "site:" tag at the end and it directly takes you to the matching search result from that website. I have converted this to a custom search engine.
I want to find a song on Spotify, I would just type in "s anne marrie kiss me" and it directly takes me to the track. Notice the spelling mistake. This is better than using Spotify's search as a custom search engine because you've bypassed Spotify's search result page.
Here's the CSE for that:
https://duckduckgo.com/?q=%5C%s%3Aspotify.com
Another example would be the lyric site Genius. Genius' internal search is bad if you make spelling mistakes. Here's the CSE for that:
https://duckduckgo.com/?q=%5C%s%3Agenius.com
-
@aronquemarr Hi, great tip!
Some pointers:
- Don't paste your URLs directly, the forum will make them into links and this will likely break searches
- Use code blocks - `url` - instead:
https://duckduckgo.com/?q=\%s:spotify.com
- Avoid URL-encoding as it makes URLs hard to read and it's not necessary, in this case
%3A
is simply a colon - ":
" - Drop unnecessary URL arguments, in this case
&t=h_
does not seem to make a difference?
I use Google Lucky myself and it works, but because of the redirect notice if not coming directly from Google itself, I need a user script to bypass it.
https://www.google.com/search?btnI=I'm+Feeling+Lucky&q=%s
DDG's version is much more elegant though