Closed SpaceCowboy321 closed 7 months ago
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.
If there's a reference implementation it should be very possible to do!
I found a Kodi plugin that uses Funimation to stream episodes.
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.
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.
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.
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....
Okay, all the APIs needed to get to a video stream are documented now.
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
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)
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.