Dar9586 / NClientV2

An unofficial NHentai android client
Apache License 2.0
1.82k stars 93 forks source link

Fixed 'Unable to connect to the site' bug #689

Closed ghost closed 7 months ago

ghost commented 7 months ago

Updated InspectorV3.java.

Changes

Before Line 377 in app\src\main\java\com\dar\nclientv2\api\InspectorV3.java

String json = trimScriptTag(scripts.last().html());

After Line 377 in app\src\main\java\com\dar\nclientv2\api\InspectorV3.java

 String json = trimScriptTag(scripts.get(1).html());

Thanks to @LazyLinker for this fix

yamatz22 commented 7 months ago

How can i do this in phone?

ghost commented 7 months ago

How can i do this in phone?

I've already made the changes. They just need to be merged.

You can use the debug version provided by @LazyLinker until the fix is merged to the official version.

You can get that from the issue below.

Nibunnoichi commented 7 months ago

Thank you very much