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

Kuramanime #41

Open
6 tasks done
kitsu2 opened this issue Jul 11, 2024 · 1 comment
Open
6 tasks done

Kuramanime #41

kitsu2 opened this issue Jul 11, 2024 · 1 comment
Labels
Bug Something isn't working

Comments

@kitsu2
Copy link

kitsu2 commented Jul 11, 2024

Source information

kuramanime 14.13 (Indonesia)

Source language

Indonesia

Steps to reproduce

1.Open the kuramanime extension
2.And it shows no results found

Expected behavior

It should show anime

Actual behavior

Shows only results not found

Aniyomi version

0.16.4.3

Android version

13

Other details

Screenshot_20240711-203901

Acknowledgements

  • I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
  • I have written a short but informative title.
  • I have updated the app to version 0.15.2.4.
  • I have tried the troubleshooting guide.
  • If this is an issue with the app itself, I should be opening an issue in the app repository.
  • I will fill out all of the requested information in this form.
@almightyhak almightyhak added the Bug Something isn't working label Jul 11, 2024
@FurqanHun
Copy link

To anyone who tries to fix it:

The URL in popularAnimeRequest at line 41 needs fixing:

    // ============================== Popular ===============================
    override fun popularAnimeRequest(page: Int) = GET("$baseUrl/anime?page=$page")

Update it to:

    // ============================== Popular ===============================
    override fun popularAnimeRequest(page: Int) = GET("$baseUrl/anime?order_by=most_viewed&page=$page")

I've checked that the HTML tags and attributes are all good until:

    // ============================== Episodes ==============================
    override fun episodeListParse(response: Response): List<SEpisode> {
        val document = response.asJsoup()

        val html = document.selectFirst(episodeListSelector())?.attr("data-content")
            ?: return emptyList()

        val newDoc = response.asJsoup(html)

        val limits = newDoc.select("a.btn-secondary")

I didn't bother checking past val limits as I thought, if I could somehow get the popular/latest list, or the search queries first that would be the first step (which I failed in obv).

I got no clue if it's the site acting up, or some library messing up, or the wrong implementation of libraries (which doesn't seem the case to me).

YOU WOULD NEED TO DO PROPER DEBUGGING (which i didn't)

@Dark25 Dark25 mentioned this issue Sep 25, 2024
7 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants