yellowbluesky / PixivforMuzei3

Best Pixiv plugin for Muzei 3
GNU General Public License v3.0
177 stars 15 forks source link

for chinese user to pass the firewall #129

Open panyuhang93 opened 4 years ago

panyuhang93 commented 4 years ago

Java 端通过修改 OkHttp 的 SSLSocket 实现绕过 SNI 审查(即旁路阻断)直连 Pixiv 的功能 https://github.com/Notsfsssf/Pix-EzViewer/tree/master/app/src/main/java/com/perol/asdpl/pixivez/networks

this is a way ,but I don't know if it works for PixivforMuzei3

yellowbluesky commented 4 years ago

I originally copied the same code for use in my app, and it worked for a while.

I now noticed that he has done some new special things, I'll try to copy it and see if it works better for you Chinese users :)

panyuhang93 commented 4 years ago

yes,i see you did so close the issue. Anyway,thank you so much

yellowbluesky commented 4 years ago

Wait, does it actually work now? The Cloudflare code I copied was in a branch that I did not publish, the latest version of the app does not do anything differently for bypassing the SNI firewall.

panyuhang93 commented 4 years ago

sorry,but yesterday it work for me without vpn,today ,emmmm,i think it's about the wall😂

SettingDust commented 4 years ago

@Notsfsssf

KawaiiZapic commented 3 years ago

This feature should have a built-in pixiv.net resolve list to make domain of pixiv pointing to pixiv server directly, instead of CDN.
Because CDN needs some information to make connections,but this method remove these information to against GFW.
Pixiv server doesn't need these information, so you can use this method to connect to pixiv directly.

yellowbluesky commented 3 years ago

I am working on this right now, I have some time and motivation now

panyuhang93 commented 3 years ago

pixiv seems to have a lot of changes regarding login

SettingDust commented 3 years ago

Hello,

Can you help me test this out? Let me know if you can bypass the GFW

https://github.com/yellowbluesky/PixivforMuzei3/releases/tag/3.3.1

Can't install

yellowbluesky commented 3 years ago

My apologies, can you try this now?

https://github.com/yellowbluesky/PixivforMuzei3/releases/tag/3.3.2

This time I actually tested manually installing the apk, and it works for me

SettingDust commented 3 years ago

My apologies, can you try this now?

https://github.com/yellowbluesky/PixivforMuzei3/releases/tag/3.3.2

This time I actually tested manually installing the apk, and it works for me

It's seems that can't. Source -> Browse -> Refresh. And no response. And I tested Shaft. The bypass is available

yellowbluesky commented 3 years ago

Is this the Shaft that you speak of?

https://github.com/CeuiLiSA/Pixiv-Shaft

I haven't looked at their code, I'll get on it

SettingDust commented 3 years ago

Is this the Shaft that you speak of?

https://github.com/CeuiLiSA/Pixiv-Shaft

I haven't looked at their code, I'll get on it

Yes, It is

SettingDust commented 3 years ago

Is this the Shaft that you speak of?

https://github.com/CeuiLiSA/Pixiv-Shaft

I haven't looked at their code, I'll get on it

https://github.com/CeuiLiSA/Pixiv-Shaft/blob/516789c232ff2a37d3d1fbdea1672254fb83932f/app/src/main/java/ceui/lisa/http/Retro.java#L66

yellowbluesky commented 3 years ago

Is this the Shaft that you speak of? https://github.com/CeuiLiSA/Pixiv-Shaft I haven't looked at their code, I'll get on it

https://github.com/CeuiLiSA/Pixiv-Shaft/blob/516789c232ff2a37d3d1fbdea1672254fb83932f/app/src/main/java/ceui/lisa/http/Retro.java#L66

Thank you very much, I'll try to get another buil dout in a few hours

SettingDust commented 3 years ago

Is this the Shaft that you speak of? https://github.com/CeuiLiSA/Pixiv-Shaft I haven't looked at their code, I'll get on it

https://github.com/CeuiLiSA/Pixiv-Shaft/blob/516789c232ff2a37d3d1fbdea1672254fb83932f/app/src/main/java/ceui/lisa/http/Retro.java#L66

Thank you very much, I'll try to get another buil dout in a few hours

Alright, thx a lot :D

SettingDust commented 3 years ago

Is this the Shaft that you speak of? https://github.com/CeuiLiSA/Pixiv-Shaft I haven't looked at their code, I'll get on it

https://github.com/CeuiLiSA/Pixiv-Shaft/blob/516789c232ff2a37d3d1fbdea1672254fb83932f/app/src/main/java/ceui/lisa/http/Retro.java#L66

Thank you very much, I'll try to get another buil dout in a few hours

Maybe you can push the code. So that I can translate the new options

yellowbluesky commented 3 years ago

I'm having some trouble, so I've asked for help

https://github.com/CeuiLiSA/Pixiv-Shaft/issues/289

yellowbluesky commented 3 years ago

Hi everyone, can you try this build out?

https://github.com/yellowbluesky/PixivforMuzei3/releases/tag/3.3.1_GFWTest

Please let me know if logging in, ranking images, and feed images work without needing a VPN.

SettingDust commented 3 years ago

Hi everyone, can you try this build out?

https://github.com/yellowbluesky/PixivforMuzei3/releases/tag/3.3.1_GFWTest

Please let me know if logging in, ranking images, and feed images work without needing a VPN.

Cant install

yellowbluesky commented 3 years ago

Hi everyone, can you try this build out? https://github.com/yellowbluesky/PixivforMuzei3/releases/tag/3.3.1_GFWTest Please let me know if logging in, ranking images, and feed images work without needing a VPN.

Cant install

Sorry, can you try uninstalling the existing version that you have already installed, and then install this? It downloads from Github and installs fine on my Android 10 MIUI device

yellowbluesky commented 3 years ago

If that fails, try this one: https://github.com/yellowbluesky/PixivforMuzei3/releases/tag/3.4.0_GFWTest_prodRelease Production release flavor, and properly incremented version number

SettingDust commented 3 years ago

Hi everyone, can you try this build out? https://github.com/yellowbluesky/PixivforMuzei3/releases/tag/3.3.1_GFWTest Please let me know if logging in, ranking images, and feed images work without needing a VPN.

Cant install

Sorry, can you try uninstalling the existing version that you have already installed, and then install this? It downloads from Github and installs fine on my Android 10 MIUI device

3.4 still can't login. But load images. I think it's fine

SettingDust commented 3 years ago

@CeuiLiSA 您有什么想法吗,我个人觉得登陆不了是正常的

In my option, can't login without vpn is fine :D

panyuhang93 commented 3 years ago

@CeuiLiSA您有什么想法吗,我个人觉得登陆不了是正常的

3.4.0,杭州电信,都不行、无奈