搜索引擎 in- 的使用
绝大多数小盆友使用搜索引擎都会直接输入关键词然后回车,这个姿势没问题,问题是不够精准。如何做才是精准搜索?这个需要掌握一些不太复杂的高级搜索功能,比如基于范围设定的 in- 语法。in 这个单词的本意是“在……里面”,in- 语法在搜索引擎中大约有如下几个搜索约定:
一、inurl
搜索 url 中包含特定关键词的页面。url 就是一个网址,网址会包含一个地址名称,比如花潮论坛的网址是
https://www.huachaowang.com ,那么,如果我们想在这个论坛里查找红影《算命的都说我能发大财》,我们可以按下面的结构构建搜索关键词:
发大财 inurl:huachaowang
在这里,“发大财”是查找的关键词,“inurl:”是保留语法不可改动,里面的冒号是小角冒号,冒号后面直接跟域名的主干不要有空格(后面各例也如此要求),“huachaowang”就是网址中重要的主干即网站注册时的域名。这样的搜索关键词结构能精准搜索到指定网站中包含有关键词“发大财”的页面。
二、intitle
title 是标题的意思。每一张网页都应当有一个 title 标签,用以标明该网页的标题,所以,intitle 搜索语法将去搜索标题中包含特定关键词的页面,以下是关键词构建例子:
发大财 intitle:算命
“发大财”是搜索关键词,我们还通过 intitle 语法来限定了页面标题要有“算命”这个词。但这个能否搜到红影的帖子还得看看搜索引擎的爬虫有多厉害或网站的知名度有多高,毕竟网页多如天上的星星。这里只是介绍一下搜索的相应高级应用。
三、intext
text 是文本的意思,这里指网页内容。intext 这个语法,顾名思义是在内容中查找关键词,它忽略标题和网址url,只去指定网站查找特定内容:
阳光哥哥 intext:huachaowang
这个和 inurl 语法构造形同,不同的是它只查找网页内容且会忽略网页的标题和url(网址)。
以上便是搜索引擎 in- 语法的简介,理论上所有搜索引擎都支持。
这个用法从来不知道,去试了一下,搜不出来啊{:4_173:} 试了下,不行呀,小墨。{:4_203:} 樵歌 发表于 2021-12-18 19:22
试了下,不行呀,小墨。
我改名了么?
我不太了解百度的情况,我测试了F搜是可以的 这个搜索引擎 in- 的使用挺快的啊。 继续学习! 老黑厉害 {:4_170:} 这个我没有用过{:4_203:} 本帖最后由 马黑黑 于 2024-6-11 19:56 编辑 <br /><br /><style>
#tz { margin: 30px 0 30px calc(50% - 681px); width: 1200px; height: 700px; background: url('https://pic.imgdb.cn/item/6667f9aed9c307b7e9aefb5a.jpg') no-repeat center/cover; border-radius: 18px; box-shadow: 2px 2px 6px gray; overflow: hidden; z-index: 1; display: grid; place-items: center; position: relative; }
#lrc { position: absolute; top: 40px; right: 400px; font: normal 30px sans-serif; text-shadow: 1px 1px 1px white; background: linear-gradient(to bottom, red, Orchid, DeepSkyBlue,Orchid, Orange); writing-mode: vertical-rl; background-clip: text; -webkit-background-clip: text; color: transparent; filter: drop-shadow(-1px -1px 6px gray); user-select: none; animation: swear 6s linear infinite alternate var(--state); transform: rotateY(-10deg); }
#player { position: absolute; left: calc(50% - 200px); bottom: 20px; width: 400px; height:10px; background: linear-gradient(to right, var(--color) var(--prg), transparent 0); border: 1px solid var(--color); border-radius: 6px; display: grid; place-items: center; --color: rgba(77, 149, 203, .8); --prg: 0%; --btnSize: 80px;}
#player::before, #player::after { position: absolute; content: ''; }
#player::before { width: var(--btnSize); height: var(--btnSize); top: calc(var(--btnSize) * -1 - 15px); background: url('https://pic.imgdb.cn/item/666817a4d9c307b7e9ddbb09.png') no-repeat center/cover; animation: rot 6s linear infinite var(--state);}
#player::after { content: attr(data-time); inset: -30px 0 10px 0; text-align: justify; text-align-last: justify; font-size: 14px; color: var(--color); pointer-events: none; }
.vid { position: absolute; top: -60px; left: 100px; width: 110%; height: calc(100% + 160px); object-fit: cover; mix-blend-mode: screen; opacity: .3; pointer-events: none; transform: rotate(-20deg); }
@keyframes rot { to { transform: rotate(360deg); } }
@keyframes swear {
from { transform: perspective(400px) rotateX(30deg); }
to { transform: perspective(400px) rotateX(-30deg); }
}
</style>
<div id="tz">
<audio id="aud" src="https://music.163.com/song/media/outer/url?id=34057953.mp3" autoplay loop></audio>
<video class="vid" src="https://img.tukuppt.com/video_show/2629112/00/01/91/5b4d7c5becb5a_10s_big.mp4" autoplay loop disablePictureInPicture muted></video>
<div id="lrc">HUA CHAO PLAYER</div>
<div id="player"></div>
</div>
<script>
var script = document.createElement('script');
script.charset = 'utf-8';
script.src = 'https://638183.freep.cn/638183/web/js2024/tube3dlrc.js';
document.body.appendChild(script);
var lrcAr = [
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
];
</script>
页:
[1]