Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Funimation fixes and enhancements #13225
Comments
|
Could you make your changes publicly available in a fork. I can see what I can do to look at this as well. |
|
I hadn't pushed them as I've been fixing weird edge cases. I've still got a couple more to track down as well. First problem is that the key I'm binding on does broken things on multi-season shows. A particularly ridiculous example is D.Gray Man where the episodes of seasons 1, 2 and 3 appear to be 1-26, 27-51 and 104-116 respective. The second problem is that I still have some glitchy episode handling though I might have it contained to the playlist code now. I know for one that it's only seeing the second season of My Hero Academia. |
|
Ok, well I answered both of those details. Turns out the episodes on D.Gray are numbered that way consistently thought out, so that's annoying. Aaand I'm getting My Hero Academia listed correctly, it just looks like I'm getting less episodes that I was which probably means I was getting noise or duplicated entries. I'll see if my remaining "had issues" show processes. |
Forked and copied off of #11773
I've been digging around in the requests stream and it honestly looks like funimation are returning the initial language at random.
The missing bit in the extractor I think is something mentioned in the description provided by @julianrichen ... specifically, the extractor skips the step of querying
https://prod-api-funimationnow.dadcdigital.com/api/source/catalog/title/experience/<video_id>/and jumps straight to requesting thevideo/<>/signedurl. What I think is going on internally, somewhere, is that the page:title/experience,video/<>/signedurl for the video id found in step 4 instead of the one from step 2I'm making progress fixing things. I'm noticing that there's some sources for subtitle files, can someone point me at a good example of how I could return those sources?So, uh, I've ended up rewriting quite a bit of the code, and I've also got a prototype of a series extractor, but I've run in to two issues and could do with a little help.
Problem 1 is that I can see how separate subs are listed in the experience file, but it looks like most files might actually have their subs burnt in. It would be handy if someone knows of a video with soft subs to test with. I know it's possible, AoT episode 1 in English has a CC track listed in the textTracks field (srt, vtt, dfxp formats), but it's the only one in the season that has one. Would be nice to fix but I guess it's minor.
Problem 2 is that the geofencing makes it pretty annoying to properly test ... it works for me on funimationnow.uk but I can't really run the test suite or, more of an issue, add tests for the playlist code. Don't suppose I could get some assistance with that?
I'm also running in to a couple of interesting issues with episodes that don't have sensible episode number ... some shows where English apparently isn't an option ... and some where uncut seems to be a valid url but returns 403.