[New Website] Animesfhd.net support by animesfhd · Pull Request #4238 · MALSync/MALSync · GitHub
Skip to content

[New Website] Animesfhd.net support - #4238

Open
animesfhd wants to merge 10 commits into
MALSync:masterfrom
animesfhd:animesfhd-support
Open

animesfhd wants to merge 10 commits into
MALSync:masterfrom
animesfhd:animesfhd-support

Conversation

@animesfhd

@animesfhd animesfhd commented Oct 2, 2026 •

Copy link
Copy Markdown

AnimesFHD Chibi support

Adds AnimesFHD support using MALSync's current ChibiScript format.

Features

  • Episode sync for /episod/:id and /episode?id=:id
  • Series overview sync for /serie/:id and /series?id=:id
  • Portuguese title cleanup and Brazilian season-name normalization
  • Episode number, series identifier, overview URL, poster image, and episode list
  • Lifecycle readiness hooks for dynamically loaded content
  • Search URL and AnimesFHD page registration

Files changed

  • src/pages-chibi/implementations/AnimesFHD/main.ts
  • src/pages-chibi/implementations/AnimesFHD/style.less
  • src/pages-chibi/implementations/AnimesFHD/tests.json
  • src/pages-chibi/pages.ts
  • src/pages/list.json

Test site

Validation

  • Chibi content build passed
  • AnimesFHD headless tests passed
  • Script and LESS lint passed

zadikッ added 3 commits October 2, 2026 06:43
…eaming). Sync reads data-anime/data-episode/data-series-id from the player container. Includes test case.
… entry) before search — all season pages were 'not found'
…: waitForTitle now waits for data-loaded attr (Carregando placeholder was used as anime title); handlePage guard prevents duplicate UI; AddMalDiv hidden via CSS (MALSync default box was showing alongside custom ser-kpi styled box); colors #e50914->#b245ff, #120709->#0a0a0c to match site purple theme
@animesfhd animesfhd changed the title Add AnimesFHD page sync (https://animesfhd.net — Portuguese anime str… Add AnimesFHD page sync (Portuguese anime streaming site) Oct 3, 2026
zadikッ added 2 commits October 3, 2026 19:45
…es Online' e 'Dublado' do titulo antes de buscar no MAL (estes sufixos de importacao impediam o MAL de achar o anime); waitForTitle agora tambem aceita titulo real sem data-loaded (fallback apos 20 tentativas)
…, center-aligned) — fixed #malp and #MalData flex containers (justify-content:space-between inline overridden to flex-start); all .malp-group boxes share identical padding/border/height/line-height; selects get custom arrow (no native appearance height variance); 'Status MAL:' label changed to 'Status:' via CSS content (visual only, no logic change); responsive wrap on mobile with reduced gap/padding
@animesfhd animesfhd changed the title Add AnimesFHD page sync (Portuguese anime streaming site) [New Website] Animesfhd.net support Oct 7, 2026

@lolamtisch lolamtisch left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

We do not accept implementations using the leagazy format anymore. Please use chibi implementations.
https://github.com/MALSync/MALSync/wiki/Build
And there are a lot of unrealated changes.

Move the AnimesFHD page support to the current ChibiScript interface and keep the PR focused on the site implementation.
@animesfhd
animesfhd requested a review from lolamtisch October 7, 2026 16:14
@animesfhd

Copy link
Copy Markdown
Author

Comment thread src/pages/list.json
Comment thread src/pages-chibi/implementations/AnimesFHD/main.ts

@animesfhd animesfhd left a comment

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

done

- Read the episode title from the document title, which keeps the
  season ("X — 2ª temporada"); #episode-meta loses it after hydration.
- Convert "Nª temporada" / "Temporada N" to "Season N" and drop the
  suffix for the first season.
- Overview: use the English alternative title only for series without
  a season, since it always belongs to the first season.
- Wait until the rendered content matches the url. Switching season in
  the player or series page changes the url ~3s before the content.
- Re-register the page in pages.ts (lost in the master merge) and keep
  src/pages/list.json identical to upstream.
- Update tests: the old test series no longer exists.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@animesfhd
animesfhd requested a review from lolamtisch October 14, 2026 10:30
Comment thread src/pages-chibi/implementations/AnimesFHD/main.ts
@animesfhd
animesfhd requested a review from lolamtisch October 19, 2026 11:14
Add a purple outline around the highlighted episode thumbnail. Tested locally after rebuilding the extension, including switching seasons.

This branch has not been deployed

No deployments
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.

2 participants