Search parameters for Google and Baidu web pages

Source: Internet
Author: User

Baidu Web search query parameters

WD (keyword): Query keyword
Pn (page number): page number of the displayed result
CL (class): indicates the search type. Cl = 3 indicates web search, and Cl = 2 indicates image search.
IE (input encoding): encoding of the query keyword. The default value is simplified Chinese, and IE = gb2312.
TN: the source site that submits the search request. For example, if you search for a keyword in the baidu search box of July 123, the default value of Tn = sitehao123 is CNNIC.
RN (Record Number): number of records displayed in the search result. The default value is RN = 10. The value range is between 10 and.
BS (before search): Keywords of the last search

Search parameters for Google Web Search

Q (query): Query keyword
HL (interface language): The interface language of Google Search
Hl = ZH-CN: Simplified Chinese language interface. Google Chinese is used for this parameter.
Hl = ZH-tw traditional Chinese Language Interface, often used in Hong Kong and Taiwan regions
Hl = EN English Language Interface
Start: display the start end of the search result. If start is set to 1, the start of the first search result is displayed. If you want to view page 2nd of the search result,
Set start to 200. Because Google only displays 1000 search results, the theoretical value range of start is between 0--999.
LR (Language restrict): the language limitation of the content to be searched only for webpages in a certain language. If the LR parameter is null, all web pages are searched.
Commonly used:
LR = lang_zh-CN only search for simplified Chinese Web pages
LR = lang_zh-TW only search for traditional Chinese Web pages
LR = lang_zh-CN | lang_zh-TW search all Chinese Web pages
LR = lang_en: Only search for English webpages
IE (input encoding): encoding of the query keyword. The default value is UTF-8. That is to say, when a Google search request is sent, the value of Q is a UTF-8 encoded text.
OE (output encoding): The webpage code of the search result page. The default value is OE = UTF-8.
Num (number): number of entries displayed in the search result. The value range is 10-. The default value is num = 10.
Newwindow: whether to enable a new window to display query results. The default value is newwindow = 1.
AQ (ascending query): determines whether a user is queried for the first time. If the user is queried for the first time, AQ = f (first );
If you have performed multiple queries, AQ =-1, which is mainly used for statistics and placement cheating.
As_q (ascending search query): Last query keyword

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.