Forgot password
 Register account
original poster: kuing

才发现在线人数刷新纪录了……

[Copy link]

3208

Threads

7835

Posts

52

Reputation

Show all posts

hbghlyj posted 2025-3-14 02:00
编辑最高记录的方法是:
先用 Javascript 获取 +8 时区 2025-3-4 上午 12:00 的时间戳 1741060800
  1. new Date('2025-03-04T12:00:00+08:00').getTime()/1000
Copy the Code
然后执行SQL
  1. UPDATE `pre_common_syscache` SET `data` =CAST('8\t1741060800' AS BINARY) WHERE `cname`='onlinerecord';
Copy the Code

3208

Threads

7835

Posts

52

Reputation

Show all posts

hbghlyj posted 2025-3-14 03:09
kuing 发表于 2025-3-4 05:40
是不是爬虫来了?
现在,我们根据user agent识别爬虫。

测试:在Windows命令行运行
  1. curl -A "Googlebot" https://kuing.cjhb.site
Copy the Code
该请求会被识别为爬虫。于是在首页显示的在线会员中增加一个“机器”。

673

Threads

110K

Posts

218

Reputation

Show all posts

original poster kuing posted 2025-3-29 15:58
刚才又一波游客流,而且并没有被识别为机器人。

最新纪录:最高记录是 2782 于 2025-3-29. 直接翻了几翻

673

Threads

110K

Posts

218

Reputation

Show all posts

original poster kuing posted 2025-3-29 23:19
hbghlyj 点评
刚才又一波游客流,3003
刚才我在写帖子没注意,也是全是游客,没识别成机器人吗?是不是识别还不完善?cloudflare 的作用又是什么?

3208

Threads

7835

Posts

52

Reputation

Show all posts

hbghlyj posted 2025-3-29 23:33
kuing 发表于 2025-3-29 15:19
是不是识别还不完善?
新机器需要手动添加的。已将Algolia Crawler加入UA识别列表

764

Threads

4672

Posts

27

Reputation

Show all posts

isee posted 2025-4-2 12:06
3300了

在线会员 - 207 人在线 - 1 会员(0 隐身), 206 位游客 - 最高记录是 3312 于 2025-4-1.
isee=freeMaths@知乎

673

Threads

110K

Posts

218

Reputation

Show all posts

original poster kuing posted 2025-4-3 22:05
不断刷新纪录,四千+了,据 @hbghlyj 说,现在 algolia 的机器人是天天来的,用于右上角新的搜索引擎。
当然,还有别的机器人也不少,真游客就太少了……

673

Threads

110K

Posts

218

Reputation

Show all posts

original poster kuing posted 2025-4-5 17:32
hbghlyj 发表于 2025-4-5 02:05
超过 500 时默认折叠首页的在线列表
已去除 $onlinenum < 500 &&
能不能这样:对相同类型的机器人,只显示一个总数,不具体显示出来。
比如显示成 Amazonbot(100) 就表示有 100 个 Amazon 机器人,这样就不占位置了,不然像现在每次看下方都一大堆,感观也不太好。

详细页也可以类似处理(反正显示机器人正在看的帖子也没多大意义,看会员和真实游客的才有意义)

414

Threads

1641

Posts

15

Reputation

Show all posts

abababa posted 2025-4-5 19:12
机器人的频率也太频繁了,论坛更新不怎么频繁,机器人也不用每天都上来吧,一周上来一次就行,能设置这个频率吗?

3208

Threads

7835

Posts

52

Reputation

Show all posts

hbghlyj posted 2025-4-5 20:42
kuing replied at 2025-4-5 10:32
显示成 Amazonbot(100) 就表示有 100 个 Amazon 机器人
这个建议很好👍

Comment

我发现,首页在线的有链接的那些链接为啥全是 ...&goto=lastpost.. 的形式?  posted 2025-4-5 22:28

414

Threads

1641

Posts

15

Reputation

Show all posts

abababa posted 2025-4-5 21:14
hbghlyj 发表于 2025-4-5 20:41
最近常來的 Amazonbot 不是我控制的
以前maven给我讲过一个robots协议,是不是能调这个来控制?比如Request-rate这个,写了是不是就能控制频率了?我不太懂这个,刚才搜索了一下robots协议,发现确实有这个选项。

3208

Threads

7835

Posts

52

Reputation

Show all posts

hbghlyj posted 2025-4-5 21:22
感觉目前似乎没有显著拖慢网站,服务器可承担的工作负载,不需要采取措施吧

3208

Threads

7835

Posts

52

Reputation

Show all posts

hbghlyj posted 2025-4-5 21:41
一开始有很多 Google 机器人,但现在很少看到
总页面数是有限的,我想一旦爬取完所有页面,爬虫频率就会降低

412

Threads

1432

Posts

3

Reputation

Show all posts

realnumber posted 2025-4-17 18:57
就看到密密麻麻的机器人离线头像,象一群猫瞪着你,

13

Threads

898

Posts

8

Reputation

Show all posts

色k posted 2025-4-19 14:03
Last edited by kuing 2025-4-19 14:17
hbghlyj 发表于 2025-4-19 06:43
当你看到一堆密密麻麻的机器人头像一个个冷冰冰的眼睛时,虽然它们并不会真正对你造成威胁,也会不自觉地感 ...
但还是个头的形象,不如换成🖥之类的表示是电脑就行
这名字我喜欢

3208

Threads

7835

Posts

52

Reputation

Show all posts

hbghlyj posted 2025-4-20 05:29
该Emoji一般都是电脑显示器,但在Windows 11上却是一台电脑主机
为什么Windows 11默认字体为Segoe UI Symbol,而不是Segoe UI Emoji?
Noto Color EmojiSegoe UI EmojiSegoe UI Symbol
🖥.svg

3208

Threads

7835

Posts

52

Reputation

Show all posts

hbghlyj posted 2025-4-20 06:21

在Android上显示相同,但在Windows 11上显示不同:

第一个以彩色形式显示,字体为“Segoe UI Emoji”,第二个是黑白的,字体为“Segoe UI Symbol”。
🖥️有两个 Unicode 码位:U+1F5A5 后跟一个变体选择器 U+FE0F
🖥仅有一个码位 U+1F5A5,不包含变体选择器

3208

Threads

7835

Posts

52

Reputation

Show all posts

hbghlyj posted 2025-4-20 22:51

Googlebot为何减少了对该网站的抓取

8万个URL已抓取,但仅有384个被Google索引显示为crawled but not indexed
搜索潜在解决方案
  • Improve content quality: Ensure the page has good quality, original content, and is relevant to the search intent.
  • Improve internal linking: Link to the page from other pages on your site.

Quick Reply

Advanced Mode
B Color Image Link Quote Code Smilies
You have to log in before you can reply Login | Register account

$\LaTeX$ formula tutorial

Mobile version

2025-7-19 21:05 GMT+8

Powered by Discuz!

Processed in 0.015481 seconds, 27 queries