Hrefer Baidu

I can't give you info on Hrefer directly as I don't use it, but you want to parse the urls from this bit of code on the SERPs
Code:
mu="([^"]*)"
otherwise Baidu gives redirect urls for each result, and you'll get blocked when you try and parse them all.
 
To perform the analysis, you need to understand the function of these parameters, such as the parameters on the PC side as follows:
PC Side


wd: Search query (PC side)


oq: Previous search query


pn: Represents the search results page number. The first page does not have this parameter; the second page is pn=10, the third page is pn=20.


rsv_spt: Browser identification


rsv_iqid: Unknown


issp: Unknown


f: Search type


1: Related searches


3: Instant search suggestions


8: Independent search form


12: Correcting typos in search


rsv_bp=0: Indicates the search was performed by entering content in the search box for the first time, e.g., on Baidu homepage, browser’s Baidu search bar, or navigation sites.


rsv_bp=1: Indicates continued search using the header search box on Baidu search results page.


rsv_bp=2: Indicates continued search using the footer search box on Baidu search results page. rsv_bp=1 or rsv_bp=2 appear only if the user has performed at least two consecutive searches.


rsv_idx: Unknown (possibly related to browser identification)


ie: Encoding of the query keyword


tn: Source identification of the search box


rsv_enter: 1 means search confirmed via Enter key; 0 means search confirmed via mouse click


rsv_dl: Unknown


rsv_sug3: Related to keyboard repeat rate. The faster the keyboard repeat speed or network speed, the smaller the rsv_sug3 value (not less than 0). The slower the speed, the larger the value (not exceeding total input count). Faster typing speed suggests the user roughly knows what they want to search; slower speed does not necessarily mean uncertainty.


rsv_sug1: Number of search box suggestions displayed


rsv_sug7: Unknown


rsv_t: Unknown encryption (possibly a random security measure for search results by Baidu)


rsv_pq: Unknown encryption


usm: Unknown


rqlang: Language, e.g., cn for China


ct: Language restriction:


0: All languages


1: Simplified Chinese pages


2: Traditional Chinese pages


Other values: uncertain or invalid, default is 0


q5: Search content location restriction:


0: All content


1: Page title (equivalent to title: prefix)


2: URL (equivalent to inurl: prefix)


Other values default to 0


q6: Site restriction for search content, e.g., q6=www.baidu.com searches only pages under http://www.baidu.com/ (equivalent to site: prefix). Default is empty.


Example: https://www.baidu.com/s?ie=utf-8&f=8&rsv_bp=1&tn=baidu&rqlang=cn&rsv_enter=0&q6=www.wnxfs.com


dq: Not recommended. Regional restriction for the query content. The specific value is determined by Baidu; default is empty. Effectiveness is low.


rsp: Position of related search terms; first recommended term is 0, second is 1, and so on.


cl (class): Search type


cl=3: Web search


cl=2: Image search


ct: Usually a number string, possibly a search request verification code


si: Domain-limited search, e.g., to search within a specific site, use si=baidu.com. To take effect, it must be used together with the ct parameter.


Example: https://www.baidu.com/s?ie=utf-8&f=...rqlang=cn&rsv_enter=0&si=baidu.com&ct=2097152
 
Back
Top