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

pixiv server update #224

Merged
merged 2 commits into from
Sep 21, 2024
Merged

pixiv server update #224

merged 2 commits into from
Sep 21, 2024

Conversation

UjuiUjuMandan
Copy link
Contributor

@UjuiUjuMandan UjuiUjuMandan commented Sep 18, 2024

Screenshot_20240919-034729

So now pixiv has updated their image server, it doesn't allow invalid HTTP Host header anymore. We should correctly build the URL, by inserting a domain instead of direct IP address.

This patch doesn't fail to Chinese censorship.

  • For DNS, a DoH server was already used.
  • There is no DPI targeting i.pximg.net as an HTTP Host but only it as an HTTPS SNI. The current HTTP_HEAD = "http://" is no problem.

@UjuiUjuMandan
Copy link
Contributor Author

UjuiUjuMandan commented Sep 18, 2024

Before this is fixed, an workaround is to set Pixiv proxy host to i.pximg.net in Advanced settings.

@UjuiUjuMandan
Copy link
Contributor Author

Have you noticed that you sometimes use antony@antonyhu,cin,au in commit? Every typo moves one key left.

@yellowbluesky
Copy link
Owner

I'll take a look at this when I get time over the next week

Good point about the typos, I didn't notice it until now! I'll fix it in Sublime Merge right away

@yellowbluesky yellowbluesky merged commit 18110be into yellowbluesky:master Sep 21, 2024
@UjuiUjuMandan UjuiUjuMandan deleted the host branch September 21, 2024 09:02
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