:pencil: Painless subtitle downloader

Overview

subdownloader

Painless subtitle downloader

Downloading subtitle for one or more files is just a command away. It can get any better then this.

Installation

npm install -g subdownloader

How to use

  • Navigate to the folder in which you have the file for which you want to download subtitles through command prompt.
  • Execute subdownload command and let all the magic happens.
  • sd is a shorthand command. You can use sd instead of subdownload

Options

  • To download subtitles for all the movies in a folder execute.

    > subdownload

  • To download subtitles for single movie execute.

    > subdownload --listLangs

  • To list available languages for subtitle.

    > subdownload "Movie Name"

  • To download subtitles for more then one movie but not all movies in a folder execute.

    > subdownload "Movie Name" --lang=fr

  • To download subtitles of specific language.

    > subdownload "Movie 1" "Movie 2" .... "Movie n"

  • To enable deep download means to download subtitles for files in a folder as well as subfolders.

    > subdownload --deep

  • Use > subdownload --help for listing all the options available.

API

var subd = require('subdownloader');

//filesArray - is the array of path to the files for which 
//you want to download the subtitles
//obj - in return you will return an object having success and failed files array
subd.subdownload(filesArray).then(function(obj){
	console.log(obj);
	//=> { success: [successfile1,successfile2], failed: [failedfile1]}
});

Demo

Demo image

Note : This module uses SubDB to download subtitles.

License

MIT © Chintan Radia

You might also like...

FrontendMasters Course Downloader That actually works.

FrontendMasters Course Downloader That actually works.

Frontend Masters Downloader Features Download episodes sorted by their lesson/section Option to include subtitles/captions to the episodes Support mul

Dec 22, 2022

Archive for LeechersParadise.com, the free leech downloader.

LeechersParadise This project has no been archived due to the project being discontinued for many reasons. Thank you to the pirate community for makin

Nov 5, 2022
Comments
  • why you read the file twice?

    why you read the file twice?

    I am a new noder.when I read your source code, I found out the getHash method read file twice.

    var s = fs.createReadStream(file, {start: 0, end: (64*1024)-1});

    var sNew = fs.createReadStream(file, {start: stats['size']-(64*1024), end: stats['size']-1});

    any good point to do like this?

    opened by coolicer 4
  • Fix broken headings in Markdown files

    Fix broken headings in Markdown files

    GitHub changed the way Markdown headings are parsed, so this change fixes it.

    See bryant1410/readmesfix for more information.

    Tackles bryant1410/readmesfix#1

    opened by bryant1410 0
  • ip address

    ip address

    how to set ip address?

    sd --deep events.js:298 throw er; // Unhandled 'error' event ^

    Error: connect ETIMEDOUT 23.239.11.213:80 at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1137:16) Emitted 'error' event on ClientRequest instance at: at Socket.socketErrorListener (_http_client.js:424:9) at Socket.emit (events.js:321:20) at emitErrorNT (internal/streams/destroy.js:84:8) at processTicksAndRejections (internal/process/task_queues.js:84:21) { errno: -4039, code: 'ETIMEDOUT', syscall: 'connect', address: '23.239.11.213', port: 80 }

    opened by HakkaTjakka 1
  • Windows line-endings

    Windows line-endings

    Hello there.

    The line-endings in the cli.js file are only windows compatible (CRLF). This causes the script to break on Mac and Linux. I'd suggest converting them to LF before publishing.

    If you're on a Mac or Linux machine and this isn't working for you, open the subdownloader/cli.js file in your favorite text editor and convert the line endings. Atom has a handy package for this: line-ending-converter or open in vim and use :set ff=unix

    opened by ronlipke 0
Releases(v2.0.0)
Owner
Chintan Radia
Chintan Radia
Slickscroll - A Lightweight JavaScript library for quick and painless momentum & parallax scrolling effects.

Slickscroll is a JavaScript library that makes momentum & parallax scrolling quick and painless View Demo: slickscroll.musabhassan.com Momentum Scroll

Musab Hassan 33 Dec 28, 2022
SSA/ASS subtitle for youtube

youtube ass subtitle 유튜브에서 .ass 확장자의 자막을 보이게 해줍니다. 설치 https://github.com/mbin96/youtube_ass_subtitle/archive/refs/tags/latest.zip 링크를 다운로드합니다 적당한곳에 압축

Cho Hyeonjong 6 Feb 16, 2022
ZippyDamn-lib! is a ZippyShare Unofficial library (downloader & search) for nodejs

ZippyDamn-lib! ZippyDamn-lib! is a ZippyShare Unofficial library (downloader & search) for nodejs Looking for a CLI? Try Zippydamn! CLI Installation U

Virdio Samuel 4 Oct 2, 2021
nganu bot, multi device based simple whatsapp-bot with social media downloader

nganu A Simple Multi-Device WhatsApp Bot simple whatsapp-bot using baileys-md to download social media post and many features Install set instagram se

Muhamad Ristiyanto 28 Nov 20, 2022
Migirh is an HLS downloader based on Minyami.

Migirh Migirh (Minyami GUI for Independent Recording HLS)是一个 Minyami GUI。 Minyami 是空空( @Last-Order )开发的一个可爱的HLS下载器。 Migirh 怎么念 就像 みぎり (me-gi-li)一样,当然你

Ted Zyzsdy 5 Dec 18, 2022
Source Of SoSiS-Downloader

Source Of SoSiS-Downloader Discord Bot The Most Complete Bot In The Field Of Downloaders That Can Provide You With Anything You Can Think Of In Discor

hadi 6 Jul 30, 2022
YouTube Playlist Downloader ▶. It is powered by loader.to with Selenium 4 and Microsoft Edge.

YouTube Playlist Downloader ▶. It is powered by loader.to with Selenium 4 and Microsoft Edge.

Alfian Andi Nugraha 7 Mar 4, 2022
All in one YouTube App with downloader , background player and many more features.

YT PRO Download YT PRO Features Video Downloader Ads Blocker Picture in Picture Mode Shows Number of Dislikes Background Audio Player Auto Updation of

Prateek Chaubey 22 Dec 31, 2022
DownTube is a free to use - Content downloader service that works upon YouTube based open source APIs. It is developed and handled by M30.

?? DownTube 3.1.7 DownTube is a free to use - Content downloader service that works upon YouTube based open source APIs. It is developed and handled b

Dev Anand 1 Sep 5, 2022
Probably the friendliest social media downloader.

cobalt Sleek and easy to use social media downloader built on JavaScript. Try it out live: co.wukko.me! What is cobalt? Everyone is annoyed by the mes

null 328 Dec 30, 2022