yuna icon indicating copy to clipboard operation
yuna copied to clipboard

Funimation support

Open SpaceCowboy321 opened this issue 5 years ago • 10 comments

Would it be possible to add Funimation support at some point? I know it's not available in Europe, but it is available in the US, UK, and several other places.

SpaceCowboy321 avatar Apr 13 '19 17:04 SpaceCowboy321

There is no external facing API for this. I beginning to see a pattern here and it's mostly the anime streaming services being garbage at providing stuff for the community. That and they're run by people hellbent on keeping the status quo and the companies have no direction or plan to get better....

Funimation support? Questionable at best. It would require porting a library, that may or may not work, from python.

BitForger avatar Apr 28 '19 22:04 BitForger

If there's a reference implementation it should be very possible to do!

beeequeue avatar Apr 28 '19 22:04 beeequeue

I found a Kodi plugin that uses Funimation to stream episodes.

beeequeue avatar May 07 '19 16:05 beeequeue

I tried using Streamlink before, which has a plugin for Funimation, but it didn't work for me. There is apparently an issue with Incapsula protection that they provided a workaround for, but I wasn't able to get it to work. I don't know if there is a different/better solution, but it is something to consider.

SpaceCowboy321 avatar May 07 '19 16:05 SpaceCowboy321

So, I'm actually doing some digging into funimation's API right now. Most of it seems fairly straight forward to navigate, I can let you know what I find, if you're interested.

kbjr avatar Nov 25 '19 03:11 kbjr

Okay, I've managed to walk all the way down their API to reach an .m3u8 file that should be playable (haven't completely verified that just yet, but I don't see any reason it wouldn't work). I'm putting together a basic library for interacting with their APIs, I will link it here when it's built out enough to be a useful tool and/or reference point.

kbjr avatar Nov 25 '19 20:11 kbjr

I've started detailing out my findings in the readme here: https://github.com/kbjr/funimationnow

More to come, there's a lot to document....

kbjr avatar Nov 25 '19 21:11 kbjr

Okay, all the APIs needed to get to a video stream are documented now.

kbjr avatar Nov 25 '19 23:11 kbjr

I'm going to write a plugin system for stream fetching so it'll be easier to work with the stream sources, then I'll add this as a new plugin.

I'm currently focusing on another project so I don't know when I'll start

beeequeue avatar Nov 26 '19 00:11 beeequeue

Also, yes, I have now verified that the video works like I assumed it would

(The subtitle track, on the other hand, is harder to test because chrome apparently forces those to follow same-origin policy)

image

kbjr avatar Nov 26 '19 00:11 kbjr