Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

洛谷国际站问题 #20

Closed
LuohanXiao opened this issue May 18, 2024 · 5 comments · Fixed by #22
Closed

洛谷国际站问题 #20

LuohanXiao opened this issue May 18, 2024 · 5 comments · Fixed by #22

Comments

@LuohanXiao
Copy link

最近,洛谷国际化,一些老帖子转移到了 <luogu.com>

可经过测试,洛谷帖子保存站无法保存、更新 <luogu.com> 上的帖子,并会报错Unexpected token < in JSON at position 0

@wxh06
Copy link
Member

wxh06 commented May 18, 2024

#19 有关。

@wxh06
Copy link
Member

wxh06 commented May 18, 2024

Unexpected token < in JSON at position 0 明显是尝试解析 JSON,但洛谷以 HTML 的格式返回了页面。

@wxh06
Copy link
Member

wxh06 commented May 18, 2024

可经过测试,洛谷帖子保存站无法保存、更新 <luogu.com> 上的帖子

您是否指的是:在保存站中尝试保存在 luogu.com.cn 被屏蔽、只有在 luogu.com 才展示的(老)帖子,会得到报错

@LuohanXiao
Copy link
Author

Unexpected token < in JSON at position 0明显是尝试解析 JSON,但洛谷以 HTML 的格式返回了页面。

我猜 HTML 应该是这个:
屏幕截图_10-6-2024_193444_www luogu com cn

@LuohanXiao
Copy link
Author

可经过测试,洛谷帖子保存站无法保存、更新 <luogu.com> 上的帖子

您是否指的是:在保存站中尝试保存在 luogu.com.cn 被屏蔽、只有在 luogu.com 才展示的(老)帖子,会得到报错
是的

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants