通过URL编码改变Google的搜索语言偏好
ZhaiDongPlus
posted @ 2009年2月06日 04:49
in Google Hacks
, 5722 阅读
在使用Google搜索时,我们在搜索框中输入的关键词以及一些偏好设置通过URL中的参数传到了服务器发出请求,然后服务器再将搜索结果返还回来。了解一些Google的URL编码,可以方便我们对Google的搜索结果进行控制来符合我们的要求。
URL中的参数以?开始,使用varname=value的格式书写,参数之间使用&隔开。比如,我用Google搜索test,就得到如下的一串URL:
http://www.google.com/search?hl=en&q=test&btnG=Search
我们可以看到hl、q、btnG是参数,其中q为我们搜索的关键词,它的值就是我们刚才搜索的test。
关于语言偏好的参数:
- hl 这个参数控制搜索的指令语言,可以取值为 en zh-CN de fr 等
- lr 这个参数控制搜索哪种语言的页面,可以取值为 lang_en lang_zh-CN lang_zh-TW 等
我们要是只想搜简体中文的网页,在URL中加个&lr=lang_zh-CN就可以了。我的Google使用英语为指令语言,在搜索英文关键词时,有时想看看中文网页的搜索结果,这种方法很快捷。
<注>:这些参数在.cn下无效,要使用.com的Google。
2019年9月14日 15:55
Once you own/rent a building, you wouldn't want a role time cleaner that come by regular to clear your bowls or implement your laundry, but it doesn't mean it is advisable to pass relating to the service. Having someone received your place even weekly to do what you won't uncover in a useful cleaning makes idea. When certainly is the last effort you rinsed your home's windows? How approximately moving everything upon your desks and counter surfaces while dusting? A role time cleaner could take a family home that sounds visibly sparkling and allow it to even cleaner and better sanitary.
2019年11月13日 17:40
Consumer debt financing has become the most common way for you to finance your home business. You clear away a home loan and comply with repay it over a modicum of time. The mortgage bank charges appeal to and causes a profit in that possition. The most familiar business lenders is the following:
2020年3月19日 19:57
Web Buisness, internet affiliate marketing and running a blog all proceed together nicely. In specific, you may add textual content links for your blog articles. These hyperlinks will take your web page viewer to your web page for your own affiliate plan.
2020年3月19日 19:58
Should you hate getting out of bed each morning and likely to work for another person, then you can begin an home based internet business. People do that for numerous reasons, like being using the kids or simply a alter of way of life.
2020年3月19日 19:58
Electronic Marketing is really a broad term which includes advertising, advertising, and strengthening the internet presence associated with businesses via digital systems. Some from the digital strategies that come under the outdoor umbrella of 'Digital Marketing' tend to be digital marketing, email advertising, content advertising, pay-per-click, on the internet brochures, and much more.
2020年3月19日 19:59
Fundamental and Important Health Programs - It offers a limited medical health insurance benefit in a considerably reduced insurance price. In choosing this sort of health insurance policy, it is essential that you ought to read the actual policy explanation giving special concentrate on covered providers. There tend to be plans which might not include on a few basic remedies, certain healthcare services for example chemotherapy, maternal care or even certain medications.
2020年3月19日 19:59
While for a lot of, wellness products may be viewed being an aid in order to recovery through illness, for others it may be a way of further improving some.
2020年4月28日 19:09
This specific piece is perhaps a favorite inside my Halloween closet collection. Various other trends may possibly come along with go, but going as being a sexy This particular language Maid is often a costume staple that could make you jump out from just about any Halloween audience. Don't hassle bringing your current purse along when anyone wear this specific seductive set, because guys are going to be falling around themselves of their attempts to acquire you a glass or two!
2020年4月28日 19:10
painter is basically vital in relation to decision generating. By employing this, you can readily have a new glimpse involving what the house or garden look like. The hues and resources used in the program are people who resemble people who are you can find. You may possibly mix along with or visit a color that may be already premixed inside program.
2021年6月07日 12:59
One of the best and suitable way deal with house maintenance is by just acknowledging most of the aspects. Starting with implementing the appropriate tools and equipment to utilizing the right maintenance approach, you should know every a natural part of cleaning. Which means that, here stands out as the list for cleaning essentials you must focus regarding for effective house cleaning.