XMOJ-Script-dev / XMOJ-Script

XMOJ增强脚本
https://www.xmoj-bbs.me
GNU General Public License v3.0
4 stars 5 forks source link

[Feature Request] 改变评分保存方式 #59

Open boomzero opened 10 months ago

boomzero commented 10 months ago

检查项

描述

应该让评分在服务端保存, 那样会一致

原因

No response

PythonSmall-Q commented 10 months ago

在服务器保存是不是有点耗空间

boomzero commented 10 months ago

在服务器保存是不是有点耗空间

确实

boomzero commented 5 months ago

just a few integers, it doesn't matter

boomzero commented 5 months ago

and it is more fair

langningchen commented 5 months ago

这涉及到的是服务器什么时候重新爬取评分

langningchen commented 5 months ago

当时就因为这个,所以我没有做

boomzero commented 5 months ago

Cron

On Feb 3, 2024, at 15:55, Langning Chen @.***> wrote:

这涉及到的是服务器什么时候重新爬取评分

— Reply to this email directly, view it on GitHub https://github.com/XMOJ-Script-dev/XMOJ-Script/issues/59#issuecomment-1925204124, or unsubscribe https://github.com/notifications/unsubscribe-auth/AULMJZMTEIITK6CTX6WXUB3YRXUP5AVCNFSM6AAAAAA5RC7BZ2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMRVGIYDIMJSGQ. You are receiving this because you modified the open/close state.

boomzero commented 5 months ago

I have an idea: The client fetches data, and the server checks when the cache was updated, if the cache is more than a week old, update

On Feb 3, 2024, at 16:24, 陈琦 @.***> wrote:

Cron

On Feb 3, 2024, at 15:55, Langning Chen @.***> wrote:

这涉及到的是服务器什么时候重新爬取评分

— Reply to this email directly, view it on GitHub https://github.com/XMOJ-Script-dev/XMOJ-Script/issues/59#issuecomment-1925204124, or unsubscribe https://github.com/notifications/unsubscribe-auth/AULMJZMTEIITK6CTX6WXUB3YRXUP5AVCNFSM6AAAAAA5RC7BZ2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMRVGIYDIMJSGQ. You are receiving this because you modified the open/close state.

PythonSmall-Q commented 5 months ago

我设想的是github actions爬分数,然后计算出来 @boomzero

boomzero commented 5 months ago

Well, there are a lot of challenges doing this

On Feb 3, 2024, at 17:02, Shan Wenxiao @.***> wrote:

我设想的是github actions爬分数,然后计算出来 @boomzero https://github.com/boomzero — Reply to this email directly, view it on GitHub https://github.com/XMOJ-Script-dev/XMOJ-Script/issues/59#issuecomment-1925229264, or unsubscribe https://github.com/notifications/unsubscribe-auth/AULMJZOATBKYQ2PLYY6JG23YRX4MHAVCNFSM6AAAAAA5RC7BZ2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMRVGIZDSMRWGQ. You are receiving this because you were mentioned.

PythonSmall-Q commented 5 months ago

github actions能跑js的

boomzero commented 5 months ago

Of course I know this

On Feb 3, 2024, at 17:20, Shan Wenxiao @.***> wrote:

github actions能跑js的

— Reply to this email directly, view it on GitHub https://github.com/XMOJ-Script-dev/XMOJ-Script/issues/59#issuecomment-1925239797, or unsubscribe https://github.com/notifications/unsubscribe-auth/AULMJZLAIA73QCW6HRNAZHLYRX6PXAVCNFSM6AAAAAA5RC7BZ2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMRVGIZTSNZZG4. You are receiving this because you were mentioned.