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

Problems occurred after modifying the website referer #1651

Open
zhang-glitch opened this issue Jan 2, 2025 · 0 comments
Open

Problems occurred after modifying the website referer #1651

zhang-glitch opened this issue Jan 2, 2025 · 0 comments

Comments

@zhang-glitch
Copy link

zhang-glitch commented Jan 2, 2025

Describe the bug
由于克隆网站时Referer被修改,原网站无法正常翻页。修改referer有什么影?https://sh.haoma.com/xh/?dis=1&lanmu=0&source=000949&page=56

To Reproduce
Steps to reproduce the behavior:
打开https://sh.haoma.com/xh/?dis=1&lanmu=0&source=000949&page=56直接点击singlefile图标,保存网页即可。

Expected behavior
原网站依旧可以正常翻页

Screenshots
排查以后发现是代码中修改了referer,导致原网站翻页请求失败。

Environment

  • OS: Windows 11 专业版
  • Browser: Chrome
  • Version: 1.22.78

Additional context
我想知道修改原网站的referer有何用处?
Snipaste_2025-01-02_10-49-17

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

No branches or pull requests

1 participant