miru-project / repo

Miru Repository
http://miru-repo.0n0.dev/
MIT License
149 stars 103 forks source link

Comick Extension Error 403 #190

Closed AdalynBlack closed 5 months ago

AdalynBlack commented 5 months ago

Extension information

Comick v0.0.4

Steps to reproduce

  1. Install the Comick extension
  2. Go to the search tab
  3. Click the "Show all" button for Comick
  4. Gigantic stack trace appears as a result of Error 403

Miru version

1.8.1 on Android

Other details

Error 403 also appears when clicking on a series that has been previously favorited

I am using Android 14 on a Google Pixel 8 Pro, although I doubt that makes much difference. I've also tried using a VPN just in case my school started blocking the Comick API, and still get the error. I also attempted reinstalling the extension in case the URL was changed but the app didn't update to the new URL for some reason

Acknowledgements

AdalynBlack commented 5 months ago

Upon further inspection, it seems that the URL is being generated incorrectly. As an example, the URL generated for "Futari Escape" is https://api.comick.ccfutari-escape. it's clear that there is a missing forward slash, but it seems that there's also some other API related sections missing from the URL, as adding that / manually didn't fix the issue

OshekharO commented 5 months ago

It's working properly Screenshot_20240207-080417_Miru

Fix for those who are facing 403 error in any extension.

Open miru -> goto miru settings -> network -> webview user agent -> replace the default value to android

AdalynBlack commented 5 months ago

Thanks, it seems that works