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 Redesign #11773
Funimation Redesign #11773
Comments
That's an easy one, just grab the link to their video player @ line 427: Line 33 gave us a little something called screenshots as follows: Simply get rid of /exp first: Add anywhere between _Layer1 and _Layer9 right before .m3u8
Finally we could start downloading with ease:
BTW, now we've got geo-restrictions as show @ line 33:
|
|
Would be nice if this plugin could be made to support funimationnow.uk as well. |
|
UK URLs, which are the same as funimation.com: |
|
@dstftw Funimation Extractor is still broken on this. FYI |
|
I would love this to be fixed |
|
I'm looking into fixing this, no promises. What I found so far, with help from the work done by streamlink, is as follows. We can get the video id either by scaning the page for this badly formated js: var TITLE_DATA = {
id: '<video_id>',
title: '<title>',
titleSlug: '<slug>',
seasonNum: <season>,
episodeNum: <episode>,
seriesId: <series_id>,
videoId: null,
alpha: "<>",
type: '<episode>'
}
KANE_customdimensions.contentType = 'Episodes and Movies';
KANE_customdimensions.videoType = 'Episode';
KANE_customdimensions.showName = '<series>';
KANE_customdimensions.videoTitle = '<title>';
KANE_customdimensions.videoNumber = '1.0';
KANE_customdimensions.showID = '<show_id>';
KANE_customdimensions.videoID = "<video_id>";
KANE_customdimensions.season = '<season>';
KANE_customdimensions.showLanguage = '<language>';
KANE_customdimensions.externalAlphaId = '<idk>';
KANE_customdimensions.showreviewaverageRating = '';or use the metatags:
or finding basically any instance of You can then get the series/video info with:
The data is stored inside a nested node of seasons[] -> episodes[] -> (info about video) You would need to loop it untill you found the slug == to the video url. That gives you all the video info. You can then get the m3u8 or mp4 via:
m3u8 produces normal multi bitrate/video size stuff and mp4 seems to be 720p. The above {
"errors": [
{
"code": 2,
"detail": "If you are not a member, sign up at www.funimation.com. Otherwise, log in.",
"title": "Mature content blocked"
}
]
}If you are not logged and the video is TV-MA, so a parameter or cookie needs to be passed? I've only looked at dubbed content so idk about getting the subtitles streams. |
|
@starchivore is there anywhere we can use ffmpeg to download subtitles from funimation??? |
|
Can't login anymore.
|
|
There's still something not quite right with the extractor... For some reason it's not honouring the language of the URL I give it. For example, |
|
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
I'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 dubs might actually have 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? |
|
Hello @kaithar, could you open a new issue for bugs/missing features for Funimation? Ideas pasted on closed issues is likely to be forgotten. |
|
@yan12125 I was hoping some invested people would be subscribed to this, but yeah, looks like that's for the best. |
|
I'm a beginner at python and have no experience with extractors. :( |
Please follow the guide below
xinto all the boxes [ ] relevant to your issue (like that [x])Make sure you are using the latest version: run
youtube-dl --versionand ensure your version is 2017.01.18. If it's not read this FAQ entry and update. Issues with outdated version will be rejected.Before submitting an issue make sure you have:
What is the purpose of your issue?
The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue
Funimation is going through a site refresh. While most of the Website seems unuseable, I managed to grab some URLs.
If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:
Add
-vflag to your command line you run youtube-dl with, copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):If the purpose of this issue is a site support request please provide all kinds of example URLs support for which should be included (replace following example URLs by yours):
https://www.funimation.com/shows/yu-yu-hakusho/koenma-appears/uncut/?a=1
https://www.funimation.com/shows/tales-of-zestiria-the-x/age-of-chaos/simulcast/?lang=english
Note that youtube-dl does not support sites dedicated to copyright infringement. In order for site support request to be accepted all provided example URLs should not violate any copyrights.
Description of your issue, suggested solution and other information
Parsing the URL for the extractor will need to change. Video ID's are now specified in meta property tags in the head of the video page (I think). The video ID's are now stripped from the URL. Addition of a new video subset (uncut/promotional/official). options are also parsed in via (?lang=english).