Skip to content

ntzb/HebSubDL

Repository files navigation

HebSubDL

Supports:

  1. Wizdom
  2. Ktuvit (needs login information - see below)
  3. OpenSubtitles (needs either login information, or a 'developer' useragent)

for Ktuvit - you need to use your email, and the encoded password as per these instructions (thanks CaTz):

  1. Open ktuvit.me in the browser
  2. Open developer tools (in Windows ctrl + shift + c )
  3. Enter this code in the console, don't forget to change 'MY-PASSWORD' to your password, and 'MY@EMAIL.COM' to your email:
x = { value: 'MY-PASSWORD' };
loginHandler.EncryptPassword({}, x, 'MY@EMAIL.COM');
copy(x.value); // this will copy your encrtyped password to your clipboard
console.log(`Now paste it in the addons settings at the "Encrypted password field"`)

Gujn9Y8vTF

for OpenSubtitles, you need a "developer" UserAgent: https://trac.opensubtitles.org/projects/opensubtitles/wiki/DevReadFirst#Howtorequestanewuseragent no longer the case, you can login with both (developer useragent, or username(email)/password) as of 2023, you have to to use opensubtitles.com API Key, in combination with your username (NOT email) and password, to automate the downloads.

Screenshots:

s1 s2 s3 s4

Advanced config.properties features:

  • watch.directories: specify here comma separated paths (escape the backslash in Windows), to watch for changes, and when new file arrives, it will automatically add it to the queue
  • watch.ignorekeywords: specify here comma separated words, for the watch feature to ignore, in the filenames
  • log.level: specify here the wanted log level, i.e. DEBUG, if you want to submit issues

To Do:

  • work with Git, maven/gradle
  • recheck providers and fix as needed
  • add database with simple table - file path, status (downloaded, not found, empty (not searched?)), login cookie time validity
  • add log file with proper logger and logging levels
  • add directory watcher (https://docs.oracle.com/javase/tutorial/essential/io/notification.html)
  • add to config.properties: user/pass/api keys for providers, ignore keywords for scanner, file paths for scanner
  • minimize to tray
  • (?) expose api to be called from kodi/others
  • use opensubtitles.com, or allow a username/password method instead of developer api method.

License:

For any part of this work for which the license is applicable, this work is licensed under the Attribution-NonCommercial-NoDerivatives 4.0 International license. See LICENSE.CC-BY-NC-ND-4.0.

Creative Commons License

Any part of this work for which the CC-BY-NC-ND-4.0 license is not applicable is licensed under the Mozilla Public License 2.0. See LICENSE.MPL-2.0.

Any part of this work that is known to be derived from an existing work is licensed under the license of that existing work. Where such license is known, the license text is included in the LICENSE.ext file, where "ext" indicates the license.

About

Java Hebrew subtitles downloader

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages