ThaUnknown / miru

Bittorrent streaming software for cats. Stream anime torrents, real-time with no waiting for downloads.

Home Page:https://miru.watch

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Feature Request]: Generic extension support

EnergoStalin opened this issue · comments

Preflight checklist

  • I have searched the issue tracker for a bug report that matches the one I want to file, without success.
  • I have searched the features list for this feature, and I couldn't find it.
  • I have checked that I'm using the latest stable version of the app.

Problem Description

Kinda similar like in #125 but i don't use debrid i want to have animelayer support which is my preferred russian torrent releaser site it doesn't have api so i created npm package which parsing all avalible used by miru info from html for it.

The main problem that some anime licenced and don't have releases on Erai-Raws or DKB groups with russian subtitles which is mainly supplying them on tosho so i was left only with animelayer option which from i can obviously drag and drop torrent in miru and it would work but i dont want opening site and manually searching for release.

Proposed Solution

I make it work in this branch for myslef cringely appending results to mapping in tosho search. Also relying on http-status-codes package for errors instead of huuge error array which change has no sense but looks nicer in anilist.js.

So i'm also looking forward to design api for torrent search expansion sometime later after solving buffering problem in w2g pr. Just want to know if you still interested in this.

commented

Miru already supports this under: torrent > torrent API URL, you could easily host some cloudflare worker for free which emulates the functionality you need

Sounds good!

Actually not that good and not that easy. Can we have some different protocol for proxy when not default tohshoURL set to not query same info again? Because i didn't manage to make anitomy work in cloudflare worker and alternative which working almost with no changes is too faulty. Miru already has romaji anime title from anilist that's all i need to resolve anime from animelayer without problems. Current solution relies partially on my fork of that library and on received results from tosho. I don't like that approach cause that way i forced to do anitomy job. I only have anidb api aid as reliable soruce in this case and i really don't want to query it along with heavy caching.

For now i managed matching all anime i'm currently watching except one. Current mess here.

This is was a pain to make all work in worker. Especially failed tries on anitomyscript.

commented

this is now implemented