Skip to content

Animes-Online-Cloud-PT] Fix Nenhum Episodio Encontrado#622

Open
Bashousen wants to merge 1 commit into
yuzono:masterfrom
Bashousen:master
Open

Animes-Online-Cloud-PT] Fix Nenhum Episodio Encontrado#622
Bashousen wants to merge 1 commit into
yuzono:masterfrom
Bashousen:master

Conversation

@Bashousen

@Bashousen Bashousen commented Jul 11, 2026

Copy link
Copy Markdown

Checklist:

CLoses #577

  • Updated extVersionCode value in build.gradle for individual extensions
  • Updated overrideVersionCode or baseVersionCode as needed for all multisrc extensions
  • Referenced all related issues in the PR body (e.g. "Closes #xyz")
  • Added the isNsfw = true flag in build.gradle when appropriate
  • Have not changed source names
  • Have explicitly kept the id if a source's name or language were changed
  • Have tested the modifications by compiling and running the extension through Android Studio
  • Have removed web_hi_res_512.png when adding a new extension
  • This PR is AI-assisted, I have reviewed the changes manually and confirmed they are not slop
  • Have made sure all the icons are in png format

Add a 👍 reaction to pull requests you find important.

Summary by Sourcery

Fix episode listing for the AnimesOnlineCloud PT extension and bump its override version code.

Bug Fixes:

  • Implement episode parsing for AnimesOnlineCloud to resolve cases where no episodes are found.

Build:

  • Increase AnimesOnlineCloud overrideVersionCode from 4 to 5 to release the fix.

@sourcery-ai

sourcery-ai Bot commented Jul 11, 2026

Copy link
Copy Markdown
Contributor
Reviewer's guide (collapsed on small PRs)

Reviewer's Guide

Implements proper episode parsing for AnimesOnlineCloud by defining episode list selectors and mapping HTML episode cards to SEpisode objects, and bumps the extension overrideVersionCode to reflect the fix.

File-Level Changes

Change Details Files
Add explicit episode parsing logic so episodes are correctly discovered for AnimesOnlineCloud.
  • Import SEpisode model to support episode construction.
  • Define CSS selector for episode list to target episode cards grid.
  • Implement episodeFromElement to extract URL, episode number, and title from the episode card HTML.
  • Compose user-facing episode name using season prefix, season name, episode number, and episode title.
src/pt/animesonlinecloud/src/eu/kanade/tachiyomi/animeextension/pt/animesonlinecloud/AnimesOnlineCloud.kt
Update the extension overrideVersionCode to publish the episode fix.
  • Increment overrideVersionCode from 4 to 5 to signal the new release.
src/pt/animesonlinecloud/build.gradle

Assessment against linked issues

Issue Objective Addressed Explanation
#577 Fix the Animes Online Cloud PT extension so that episodes are correctly detected and listed instead of showing 'nenhum episódio encontrado'.
#577 Increment the extension version code so users receive the fix via an update.

Possibly linked issues


Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey - I've left some high level feedback:

  • In episodeFromElement, using selectFirst(... )!! will crash if the markup changes; consider handling a null anchor more defensively and either skipping the episode or logging instead of throwing.
  • The episode name parsing relies on ownText().substringAfter(" - "), which assumes a fixed title format; it may be more robust to trim and validate the split parts or fall back to the full text when the separator is missing.
Prompt for AI Agents
Please address the comments from this code review:

## Overall Comments
- In `episodeFromElement`, using `selectFirst(... )!!` will crash if the markup changes; consider handling a null anchor more defensively and either skipping the episode or logging instead of throwing.
- The episode name parsing relies on `ownText().substringAfter(" - ")`, which assumes a fixed title format; it may be more robust to trim and validate the split parts or fall back to the full text when the separator is missing.

Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Animes Online Cloud [PT]: Nenhum Episódio Encontrado

1 participant