Jump to content
Seiya

HIDIVE Downloader NX (nodejs based hidive.com downloader)

Recommended Posts

TkGCYvA.png

 

HIDIVE Downloader NX (nodejs based hidive.com downloader) 

 

Quick description:
"HIDIVE Downloader NX" is a script program for direct downloading of videos and subtitles from hidive.com.

 

Readme:

https://github.com/seiya-dev/hidive-downloader-nx/blob/master/README.md

 

Download and source:

https://github.com/seiya-dev/hidive-downloader-nx

Edited by Seiya
  • Like 2
  • Thanks 2

Share this post


Link to post
Share on other sites

Thanks for the Program! ;) 

Everthing works, just a question when creating a .mkv file from the .ts is it also possible to mux the subtitles straight into this aswel?

Because when it does convert it only takes the Video + 1 Audio.

So can it be maybe possible to download English & Japaness Audio & the substiles into one mkv as end result?

If not I'm still happy with the program! 🤗

Edited by DJHulp

Share this post


Link to post
Share on other sites
On 12/1/2018 at 1:16 AM, DJHulp said:

Thanks for the Program! ;) 

Everthing works, just a question when creating a .mkv file from the .ts is it also possible to mux the subtitles straight into this aswel?

Because when it does convert it only takes the Video + 1 Audio.

So can it be maybe possible to download English & Japaness Audio & the substiles into one mkv as end result?

If not I'm still happy with the program! 🤗

--mks

Share this post


Link to post
Share on other sites

One of a few changes I suggest making would be to download all subs (they are pretty small in size by comparison to audio, and have seemed quite different in content depending on show and language).

 

Interesting technique, I imagine there being a non-API/simpler method of accomplishing the task. Busy ATM and don't have access to HiDive. Would take a look at their site after the holidays if someone is willing to share their login, prob won't be subscribing again until they release a full series I am interested in.

 

On 11/30/2018 at 7:16 PM, DJHulp said:

Thanks for the Program! ;) 

Everthing works, just a question when creating a .mkv file from the .ts is it also possible to mux the subtitles straight into this aswel?

Because when it does convert it only takes the Video + 1 Audio.

So can it be maybe possible to download English & Japaness Audio & the substiles into one mkv as end result?

If not I'm still happy with the program! 🤗

"--mks add subtitles to mkv (if available)", command line argument should be what you are looking for, from the README.md.

 

I would say yes you can make a dual audio encode. As I see it, you would end up downloading the entirety of two video's then processing them for 1 video and 2 audio tracks. That is how HiDive handles streams. You could: download Show.en.ts and Show.ja.ts for example, then mux together the required information. Would end up doubling download and data consumption, I assume few would be interested with those drawbacks. I am willing to assist with an unofficial patch:

You could remove the muxing this program does currently (comment out execution of mkvmerge/ffmpeg), set --nocleanup. Not executing muxStreams() seems to have basically the desired effect. When both are done downloading run your own custom mux of the several files (2 video and subs that exist). Then simply delete the ts files and subs when your mux is complete. A simple script could be made to do this process, with some alterations to the hidive.js file.

Share this post


Link to post
Share on other sites

@Kat, feel free to make pull requests

 

Not need comment anything out because it's skip muxing if paths to ffmpeg and mkvmerge are wrong/not found

Share this post


Link to post
Share on other sites

 I just experimented with it and this is exactly what I was hoping for. Thank you for all the work put into this. I applaud you. I can't understand this sort of thing at all.

 

I as wondering if it's possible to show the info for either a series or selected episode? When I start a download I see...

Spoiler

[INFO] Selected dub: English
Videos: Japanese, Broadcast, TV-14
        Japanese, Home Video, TV-14
        English, Home Video, TV-14
Subs  : English Subs
        Portuguese Subs
        Spanish LatAm Subs
        English Caps
[INFO] Downloading "Home Video"
[quality] 1080p @ 8779kbps
[quality] 720p @ 4836kbps
[quality] 360p @ 2191kbps
[quality] 480p @ 3091kbps (selected)
[INFO] Starting downloading ts...

 

 

Is it possible to show that to select from those options?

 

Also, I keep getting the following error when I use --mks.

Spoiler

[INFO] Subtitle downloaded and converted: [HIDIVE] Log Horizon - 05 [EngTemp].En
glish Subs.ass
(node:5908) UnhandledPromiseRejectionWarning: TypeError: Cannot read property '1
' of null
    at convertLine (C:\---\hidive-downlo
ader-nx-1.0.0\modules\module.vttconvert.js:259:42)
    at convert (C:\---\hidive-downloader
-nx-1.0.0\modules\module.vttconvert.js:210:17)
    at module.exports (C:\---\hidive-dow
nloader-nx-1.0.0\modules\module.vttconvert.js:311:12)
    at downloadMedia (C:\---\hidive-down
loader-nx-1.0.0\hidive.js:398:30)
    at process._tickCallback (internal/process/next_tick.js:68:7)
(node:5908) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This
error originated either by throwing inside of an async function without a catch
block, or by rejecting a promise which was not handled with .catch(). (rejection
 id: 1)
(node:5908) [DEP0018] DeprecationWarning: Unhandled promise rejections are depre
cated. In the future, promise rejections that are not handled will terminate the
 Node.js process with a non-zero exit code.

 

 

After that the video and subtitle remains unmuxed. Did I mess something up on accident? Am I doing something wrong?

Edited by truanifan678

Share this post


Link to post
Share on other sites
8 hours ago, Seiya said:

@Kat, feel free to make pull requests

 

Not need comment anything out because it's skip muxing if paths to ffmpeg and mkvmerge are wrong/not found

 

Would first need a subscription, to test and develop my crazy theories. :P

 

Based off what I remember from last night it looked like it might cleanup the files if neither paths are declared. Thats why I suggested just commenting out the muxStreams() function. cfg.bin.mkvmerge = cfg.bin.ffmpeg = false doesn't mean argv.nocleanup. Unless there is something I am not seeing. He could run it every time with no cleanup, or comment out that 1 function call and run it with fewer cli args. You're right you don't need to, but that is what I would do.

Personally it seems like a confusing edge case for non-technical people to diagnose, when no path is set and you didn't declare nocleanup (say either accidentally or unknowingly). Wanted to avoid such edge cases when describing unofficial patches/workarounds to the program.

 

26 minutes ago, truanifan678 said:

Also, I keep getting the following error when I use --mks.

 

After that the video and subtitle remains unmuxed. Did I mess something up on accident? Am I doing something wrong?

Looks like an issue with the vttconvert script, not something you are "messing up". :)

 

PM-ing @Seiya the "[HIDIVE] Log Horizon - 05 [EngTemp].English Subs.ass" file may be of help.

 

Does this error only occur when using --mks?

Share this post


Link to post
Share on other sites

@truanifan678, make issue on github if you can. Can you show me your config file and what command you input?

 

@Kat, no, script checks cfg.bin.mkvmerge and cfg.bin.ffmpeg, and if it's not found then it's go to download next episode if selected if not it's just exit.

Share this post


Link to post
Share on other sites
On 12/4/2018 at 2:03 PM, Seiya said:

@truanifan678, should be fixed now with new release

Finally got time to check the forum. Thank you for fixing it so quickly! It works perfectly now. I can't wait to finally watch things out of 480p. My internet/computer hates 1080p videos so your downloader is a huge help.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

  • Similar Content

    • By DJHulp
      Important do I still need a HiDive Account?
      Yes.  
       
      How to Record or Download HiDive 1080P Quality?
      Record Screen:
      You can Screen Record Google Chrome it isn't protected, so any software will do!  
       
      Download:
      The Best Option, You can Download it Allavsoft Video Downloader V3.15.7.6677 or Bigasoft Video Downloader Pro V3.15.3.6535 it also downloads the Subtitle.
       
      Download Example:
      I Tryed: https://www.hidive.com/stream/is-it-wrong-to-try-to-pick-up-girls-in-a-dungeon/s01e001
      Output: 1080P.
      Video Download: https://mega.nz/#!mGhAFSTY!NAtKoPYl7i9SLy1ceBNIpyW_qBXjN5JNWsvrnSVIY6A
      Subtitle .SRT Download: https://mega.nz/#!OS4GRabZ!lWRbaTAFqg62oYGvlx7KjRp62TFfv23pkCjhZoEmDj8
      Subtitle .VVT Download: https://mega.nz/#!KORRzLBD!STIbsc4KRk97HE3Q_LFBDsc8JCtta03cAb_uONOCPRM
       
      Download Allavsoft Video Downloader V3.15.7.6677 Program Incl KeyGen:
      https://userscloud.com/d5jnnulyhrsf
      https://dailyuploads.net/4ht3mtx3uyiq
       
      Download Bigasoft Video Downloader Pro V3.15.3.6535 Program Incl KeyGen - 1080P HiDive Fix:
      https://userscloud.com/eq3lm302on6i
      https://dailyuploads.net/x6tl0wybzemo
       
      Download Bigasoft Video Downloader Pro V3.15.4.6600 Program Incl KeyGen - 1080P HiDive Fix:
      https://rapidgator.net/file/50efb26940debf4983cc392a482c9e64/Bigasoft.Video.Downloader.Pro.v3.15.4.6600.Incl.Keymaker-BLiZZARD.rar.html 
       
      New Dub Cast Fix - The first I tryed it Download Highest Quality and that was 480P Version, after that I Re-Download it again but leave the old file and then It was Re-Downloaded as 1080P!  It was Magical!
       
      Devils' Line S01E01 Example:
      Download Video: https://mega.nz/#!vfBTgKYZ!iZYkJaRln7HnWM0ALrYdbOftnPU4kGz7zHyTxpaK9cg
      Download Subtitle: https://mega.nz/#!DWQwiL7Y!QfcaNQSl5qINv33DPOa2QbIa4Lsg4-wgQiXGG4ENy_Q
      Proof: https://mega.nz/#!nLpDnaAb!wD9eGEl-73kF56MYk0mbP1MLfzwNyac5dQ_fgeY-p1A
       
      Source:
      https://www.allavsoft.com/how-to/download-hidive-videos.html
       
    • By Seiya
      Funimation Downloader NX (nodejs based funimation.com downloader)
       
      Quick description:
      "Funimation Downloader NX" is a script program for direct downloading of videos and subtitles from funimation.com.
       
      How to Use:
      0. Before start get your personal funimation token (optional):
      node funi --mail "your email" --pass "your password"
      1. Get id of your anime with search command "--search":
      node funi --search "anime title"
      2. Get list of series and start downloading:
      node funi -s 138378 --sel 1
      it will start downloading 1-st episode of The Disastrous Life of Saiki K. with subtitles
      node funi -s 138378 --sel 1 --dub
      it will start downloading 1-st episode of The Disastrous Life of Saiki K. with dub
      3. If your network provider aren't from US/GB, you will have to use proxy. Just add argument "--proxy 40.40.77.205:80". Where 40.40.77.205:80 is your proxy.
      Example:
      node funi --proxy 40.40.77.205:80 -s 138378 --dub --sel 1
       
      https://github.com/seiya-dev/funimation-downloader-nx  
       
       
×