mirror of
https://github.com/xmonad/xmonad-contrib.git
synced 2025-05-19 03:20:21 -07:00
X.A.Search: Remove num=100 from google search engine
It no longer does what it was intended to do, and in fact, now does the opposite. When X.A.Search came to be in ~2007, Google's default of showing 10 or so search hits was radically inadequate for poweruser needs. The 'num' argument was used to force display of more hits (i.e., n meant 'display at least n hits per page'). However, at some point, 'num' was inverted to mean something catastrophically different: now it apparently means 'display no more than n hits, total'. If you use that parameter, you will get 1 or 2 pages of hits at most reading 'About 98 results' or 'About 99 results' (no matter how many millions are available), and a blurb at the bottom of the final page saying 'In order to show you the most relevant results, we have omitted some entries very similar to the 99 already displayed.' Removing the 'num' parameter then shows you all the hits that were suppressed. This is bad, and should be removed. Fixes: https://github.com/xmonad/xmonad-contrib/issues/642 Co-authored-by: Gwern Branwen <gwern@gwern.net>
This commit is contained in:
parent
42dec50c17
commit
99e1b30e86
@ -298,7 +298,7 @@ debpts = searchEngine "debpts" "https://packages.qa.debian.org/"
|
||||
dictionary = searchEngine "dict" "https://dictionary.reference.com/browse/"
|
||||
ebay = searchEngine "ebay" "https://www.ebay.com/sch/i.html?_nkw="
|
||||
github = searchEngine "github" "https://github.com/search?q="
|
||||
google = searchEngine "google" "https://www.google.com/search?num=100&q="
|
||||
google = searchEngine "google" "https://www.google.com/search?q="
|
||||
hackage = searchEngine "hackage" "https://hackage.haskell.org/package/"
|
||||
hoogle = searchEngine "hoogle" "https://hoogle.haskell.org/?hoogle="
|
||||
images = searchEngine "images" "https://images.google.fr/images?q="
|
||||
|
Loading…
x
Reference in New Issue
Block a user