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

fix: remove electron's default user-agent keep browser user agent #356

Merged
merged 2 commits into from
Sep 11, 2024

Conversation

YukiCoco
Copy link
Contributor

Description

这个 PR 移除了桌面端应用的默认 user-agent 中的 ElectronFollow 信息,让它和浏览器保持一致。
因为有些反爬严格的网站会检测 UA 信息,比如来自 javdb (NSFW) 的图片,就会导致图片无法加载。
e.g: https://c0.jdbstatic.com/covers/j0/J00qzx.jpg (NSFW)
不确定修改全局的 UA 是否合适,如果不合适就把 PR 关闭掉吧 :)

Linked Issues

#355

Additional context

Copy link

vercel bot commented Sep 11, 2024

@YukiCoco is attempting to deploy a commit to the RSS3 Team on Vercel.

A member of the Team first needs to authorize it.

@Innei Innei changed the title fix: remove Electron, Follow from the default user-agent. fix: remove electron's default user-agent keep browser user agent Sep 11, 2024
@Innei Innei merged commit adb39bc into RSSNext:dev Sep 11, 2024
1 check failed
@Innei
Copy link
Member

Innei commented Sep 11, 2024

Thank you

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 this pull request may close these issues.

2 participants