New Source (SerienStream), Aniworld apostrophe rendering fix and improve performance #99

Merged
NBA2K1 merged 6 commits from main into main 2024-11-23 14:54:49 +00:00
NBA2K1 commented 2024-11-22 15:53:12 +00:00 (Migrated from github.com)

Aniworld:
Fixed apostrophe rendering in episode names (e.g., for "DAN DA DAN", episodes 1 - 4) by replacing HTML character references with actual apostrophes.
Optimized performance by reusing a single Client instance, passing it to parseEpisodesFromSeries() instead of creating a new instance in each loop.
Parallelized episode fetching in getDetail() using Promise.all to improve request efficiency, replacing the sequential loop.

SerienStream:
Essentially the same website as Aniworld, so I just copied Aniworld and changed some links.

Aniworld: Fixed apostrophe rendering in episode names (e.g., for "DAN DA DAN", episodes 1 - 4) by replacing HTML character references with actual apostrophes. Optimized performance by reusing a single Client instance, passing it to parseEpisodesFromSeries() instead of creating a new instance in each loop. Parallelized episode fetching in getDetail() using Promise.all to improve request efficiency, replacing the sequential loop. SerienStream: Essentially the same website as Aniworld, so I just copied Aniworld and changed some links.
NBA2K1 commented 2024-11-22 16:25:40 +00:00 (Migrated from github.com)

I have just realized, that the "apostrophe fix" doesn't really work?
Without the "apostrophe fix", it looks like this in the fetch results:

grafik

With the "apostrophe fix" the episode titles are correctly displayed in the fetch results:

grafik

But it doesn't work, when looking at the anime details normally:

grafik

I have just realized, that the "apostrophe fix" doesn't really work? Without the "apostrophe fix", it looks like this in the fetch results: ![grafik](https://github.com/user-attachments/assets/53bfe548-8736-4638-9914-0d1de2a40f52) With the "apostrophe fix" the episode titles are correctly displayed in the fetch results: ![grafik](https://github.com/user-attachments/assets/c27f7541-ce9b-4117-a096-019fb56c6bdc) But it doesn't work, when looking at the anime details normally: ![grafik](https://github.com/user-attachments/assets/79944bf6-5e1f-4971-8e22-838f821b842a)
RndDev123 commented 2024-11-23 09:57:39 +00:00 (Migrated from github.com)

It may appear to not work because its pulled from cache. Try a series you never looked at before.

It may appear to not work because its pulled from cache. Try a series you never looked at before.
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: Creepso/mangayomi-extensions#99
No description provided.