当前位置:网站首页>Google, Baidu and Yahoo are general search engines developed by Chinese companies_ Baidu search engine URL
Google, Baidu and Yahoo are general search engines developed by Chinese companies_ Baidu search engine URL
2022-07-06 23:57:00 【Java architects must see】
One 、 Baidu search engine URL Parameters are fully resolved In the search engine RUL Address parameter , We can clearly know , Whether the software cooperates with search engines in the category of pay per click , We search with Baidu URL The parameters are illustrated as follows :
http://www.baidu.com/s?wd= keyword wd(Keyword): The key words of the query ;( Necessary parameters ) http://www.baidu.com/s?wd= keyword & amp;cl=3 cl(Class): Search type ,cl=3 Search for web pages ,cl=2 Search for pictures ;( Necessary parameters ) http://video.baidu.com/v?rn=20&pn=0 pn(Page Number): Number of pages to display results ; http://www.baidu.com/s?ie=gb2312 ie(Input Encoding): Code of query keywords , The default setting is simplified Chinese , Default ie=gb2312; http://image.baidu.com/i?ct=201326592&cl=2&lm=-1&tn=baiduimage&pv=&z=0&word=www.qqku8.cn&s=0 ct– This value is usually a string of numbers , It may be the verification code of the search request ; si– Search for... In a qualified domain name , For example, if you want to search in this site, you can use parameters si=www.unvs.cn, For this parameter to be valid, it must be combined with ct Parameters used together ; http://video.baidu.com/v?rn=20&pn=0 rn(Record Number): Number of search results , Default settings rn=10, Value range :10-100; http://www.baidu.com/s?bs=QQ expression bs(Before Search): Keywords entered in the last search ; tn: The source site of the search request , This is the source of interest when Baidu cooperates with free software , For example, Baidu search provided in some free browsers we use ,URL The address has tn= Content ,tn= The following content is the account of Baidu alliance . Such as :Firefox Of tn=suvion_dg(tn=suvion_4_dg), Proud tn=myie2dg,The World Of tn=suvion_4_pg, As long as you use these with tn= Search for , Just click on the advertisement , The browser that provides the software will make a profit from it . There is an exception to the search results , When tn=baidulocal when , You can get a Baidu search result without bidding and advertising .( This parameter is related to Baidu alliance )
Some other parameters supplement the analysis :
http://www.baidu.com/s?lm=0( search Claim result time limit ) &si=&rn=10( Number of displays per page ) &ie=gb2312&( Language )ct=0 &wd=%CA%6%BB%FA& ( key word )pn=10 ( In the pn Above 10 Add after 1 page )&ver=0&cl=3&uim=6&usm=0 tn The website to which the search box belongs . Another definition of belonging , such as tn=sitehao123, Namely http://www.hao123.com/ The search box on the top left tn=baidulocal Means Baidu search , The result returned is clean , No advertising interference . tn=baiducnnic Want to put Baidu in the framework ? Just try this parameter , Baidu is Cnnic custom sr This parameter is not recommended . combination bs Use . General inquiry sr=0 Or null , but sr=1 when , The query will be combined with bs The values of are used together as the keywords of the query . The default value is 0, except 0,1 Invalid value other than . ct Language restrictions .0- All languages ,1- Simplified Chinese Web page ,2- Traditional Chinese web pages ; Other uncertain or invalid or . The default value is 0. rn Number of search results (Record Number), The value range is 10–100 Between strips , Default settings rn=10 pn Page number of search results , Count from zero . namely pn = ${ Result page -1}*rn. lm Time limit for search results . In days , For example, search the web page of the last month ,lm=30. The default value is 0, There is no time limit . q5 Search content location restrictions .0- All contents ;1- Webpage title ( It is equivalent to using ’title:’ Query prefix );2-url( It is equivalent to using ’inurl:’ Query prefix ); Other values are equivalent to 0. The default value is 0 q6 Search content site restrictions . for example q6=sohu.com, Means to search only sohu.com The web page of ; It's equivalent to using ’site: Prefix ’. The default value is empty dq This parameter is not recommended . The query content comes from the original regional restrictions . The specific value is determined by Baidu . The default value is empty . Tried it on , The effect of using this parameter is very poor . myselectvalue submit= tb=on tieba ? f Unknown . The default value is empty cl Unknown . The default value is empty rs2 Unknown . sc Unknown .
Two 、 Google search engine URL Parameters are fully resolved q– The key words of the query (Query), Baidu's corresponding parameters are wd hl–Google Search interface language (Interface Language) hl=zh-CN Simplified Chinese language interface , We use Google Chinese is this parameter . hl=zh-TW Traditional Chinese language interface , It is often used in Hong Kong and Taiwan hl=en English language interface start– Number of pages to display results , Baidu's corresponding parameters are pn lr– Language restrictions for search content (Language Restrict), Limit search to web pages in one language . If lr The parameter is empty. , Search all pages . Commonly used : lr=lang_zh-CN Search only simplified Chinese web pages lr=lang_zh-TW Only search traditional Chinese web pages lr=lang_zh-CN|lang_zh-TW Search all Chinese pages lr=lang_en Search only English pages ie– Query the code of the input text (Input Encoding),Google Default settings ie=utf-8, I.e. request Google Search parameters q The value of is a paragraph utf-8 Encoded text , If you want to use Chinese directly , You can set ie=gb2312, Simplified Chinese code oe– Search the code of the returned page (Output Encoding),Google Default settings oe=utf-8
num– Number of search results (Number), The value range is 10–100 Between strips , Default settings num=10, Baidu's corresponding parameters are rn newwindow– Whether to open a new window to display the query results . Default settings newwindow=1, Open a web page in a new window safe– Secure search options (SafeSearch), Setting this parameter can filter adult content , Default settings safe It's empty , That is, adult content is not filtered , Set to safe=vss, That is, filter adult content . This parameter really makes some people happy , Let some people worry .
3、 ... and 、yahoo Search engine URL Parameters are fully resolved yahoo It's simpler , Different from Baidu and Google, it puts ie Switch to ei: ei– Query the code of the input text (Input Encoding), Default settings ie=gb2312, This is simplified Chinese vs– Search for... In a qualified domain name , For example, if you want to search in this site, you can use parameters si=www.unvs.cn, stay yahoo This one can be used alone !
That's the end of today's article , Thank you for reading ,Java Architects must see I wish you a promotion and a raise , Good luck every year .
边栏推荐
- DAY SIX
- PostgreSQL uses pgpool II to realize read-write separation + load balancing
- 【CVPR 2022】目标检测SOTA:DINO: DETR with Improved DeNoising Anchor Boxes for End-to-End Object Detection
- App general function test cases
- I've been laid off, and I'll lose money for everything. The days when I once made a monthly salary of 20000 are not coming back
- Hydrogen future industry accelerates | the registration channel of 2022 hydrogen energy specialty special new entrepreneurship competition is opened!
- 在docker中快速使用各个版本的PostgreSQL数据库
- 从外企离开,我才知道什么叫尊重跟合规…
- Résumé des connaissances de gradle
- PostgreSQL highly available repmgr (1 master 2 slave +1witness) + pgpool II realizes master-slave switching + read-write separation
猜你喜欢

The intranet penetrates the zerotier extranet (mobile phone, computer, etc.) to access intranet devices (raspberry pie, NAS, computer, etc.)

Experiment 4: installing packages from Gui

Introduction to GPIO

The programmer said, "I'm 36 years old, and I don't want to be rolled, let alone cut."

基于SSM框架实现的房屋租赁管理系统

How rider uses nuget package offline

Designed for decision tree, the National University of Singapore and Tsinghua University jointly proposed a fast and safe federal learning system

Yaduo Sangu IPO

DAY SIX
![Tourism Management System Based on jsp+servlet+mysql framework [source code + database + report]](/img/41/94488f4c7627a1dfcf80f170101347.png)
Tourism Management System Based on jsp+servlet+mysql framework [source code + database + report]
随机推荐
Designed for decision tree, the National University of Singapore and Tsinghua University jointly proposed a fast and safe federal learning system
1000字精选 —— 接口测试基础
Newsletter L Huobi ventures is in-depth contact with genesis public chain
MVC and MVVM
[OFDM communication] OFDM system signal detection based on deep learning with matlab code
《数字经济全景白皮书》保险数字化篇 重磅发布
MySQL主从之多源复制(3主1从)搭建及同步测试
本地部署 zeppelin 0.10.1
Introduction to GPIO
web渗透测试是什么_渗透实战
【系统分析师之路】第七章 复盘系统设计(面向服务开发方法)
编译logisim
设计一个抢红包系统
量子时代计算机怎么保证数据安全?美国公布四项备选加密算法
Quickly use various versions of PostgreSQL database in docker
PostgreSQL highly available repmgr (1 master 2 slave +1witness) + pgpool II realizes master-slave switching + read-write separation
刘永鑫报告|微生物组数据分析与科学传播(晚7点半)
Pinia module division
Every year, 200 billion yuan is invested in the chip field, and "China chip" venture capital is booming
Basic chart interpretation of "Oriental selection" hot out of circle data