作者:mobiledu2502923007 | 来源:互联网 | 2023-09-23 21:00
搜索引擎是咱们在日常生活、工作必备的工具查个明星八卦、地址,搜索遇到的某个问题的解决方法但是,作为一个有追求、有理想的技术人员其实搜索引擎的背后,有很多鲜为人知
搜索引擎是咱们在日常生活、工作必备的工具
查个明星八卦、地址,搜索遇到的某个问题的解决方法

但是,作为一个有追求、有理想的技术人员
其实搜索引擎的背后,有很多鲜为人知的搜索语法

搜索语法汇总【建议收藏】
1、 filetype 搜索文件的后缀或者扩展名
filetype:
介绍:通过搜索引擎,获取指定类型的文件。
搜索示例:filetype:xls
将返回所有以xls结尾的excel文件的URL地址

2、info 网站基本信息
info
介绍:搜索指定网站的一些基本信息。
搜索示例:info:www.csdn.net
获取csdn的相关信息

3、inurl 网址链接包含的关键字
inurl:
介绍:搜索在url链接中包含某个关键字,这个就比较厉害了。
搜索示例:inurl:admin
搜索出大量网站后台的管理员登录地址。

4、 index of 对搜索引擎结果进行二次检索
index of
介绍:对搜索引擎结果进行二次检索。
搜索示例:index of /admin
获取一些网站的后台登录地址

5、intext 网页内容信息
intext:
介绍:搜索网页正文内容,和我们常规搜索相似。
搜索示例:intext:LexSaints
在全网搜索博主自己

6、intitle 网页title信息
intitle:
介绍:搜索网页的标题内容,了解前端知识的同学们应该很清楚,就是网页html中那个标签内容
搜索示例:intitle:lexsaints
全网title包含LexSaints的网站

7、cache 搜索引擎缓存信息
cache:
介绍:搜索引擎关于某项关键字的缓存信息,emmm有可能会发现一些很有趣的东西
搜索示例:cache:lexsaints

8、define 关键词定义
define:
介绍:全网对某个关键词的定义
搜索示例:define:lexsaints
全网对博主LexSaints的定义

9、link 相关联的网址
link
介绍:搜索与某个网址有关联的其他网址
搜索示例:link:www.swjtu.edu.cn
我母校的主网址,会把相关的一些网址都搜出来

10、site 主网站子网站
site
介绍:获取某个主网站下的相关网站
搜索示例:site:www.swjtu.edu.cn

11、links 类似link和site
links
介绍:获取某个关键词或网址的相关链接
搜索示例:links:lexsaints
搜索博主相关的网站链接

12、allinurl 所有相关的url链接
allinurl
介绍:获取与网站相关的所有url链接地址
搜索示例:alliurl:www.baidu.com
所有与百度相关的链接地址:百度地图、推广全部找到了
搜索案例
获取某网站管理后台地址
inurl:admin 所有网站的admin后台
inurl:com/admin com结尾域名的admin后台
inurl:.tw/admin tw地区admin后台

mp3、mp4等等 资源搜索
index of mpeg4
index of mp3
index of rmvb
index of rm


百度用得好,工作真好找~~~
好了,今天的分享就到这里,最后给大家推荐一套Python视频教程,希望对大家有所帮助:Python实战项目100例