keiyoushi / extensions-source

Source code of extensions for Tachiyomi/Mihon and variants.
https://keiyoushi.github.io/
Apache License 2.0
1.46k stars 330 forks source link

Able to browse Nhentai via WebView, but unable to browse in app #2882

Closed Acxelion closed 1 week ago

Acxelion commented 1 week ago

Source information

Nhentai 1.4.40

Source language

English

Steps to reproduce

  1. Change User String Agent
  2. Change DNS to HTTP to either CloudFlare or Google

Expected behavior

When opening the extension to browse, a library of different works should be visible inside the app without opening WebView.

Actual behavior

When opening the extension to browse, the app loads and eventually displays a "Failed to bypass CloudFlare" message. However, when opened via the in-app WebView, it's possible to browse the website's contents.

Mihon/Tachiyomi version

0.16.5

Android version

Android 14

Other details

The user agent string I'm currently using is the one found in this now closed issue(https://github.com/keiyoushi/extensions-source/issues/2311#issuecomment-2050443104)

Acknowledgements

keiyoushi-bot commented 1 week ago

@Acxelion this issue was automatically closed because:

keiyoushi-bot commented 1 week ago

@Acxelion this issue was not reopened because:

Acxelion commented 1 week ago

Can this issue be reopened? Because it does not seem like a CloudFlare issue because WebView works, but the in-app browsing cannot.

AwkwardPeak7 commented 1 week ago

disable random ua from extension settings and try again

Acxelion commented 1 week ago

Thank you, that looks to have fixed it.