50 lines
1.4 KiB
Plaintext
50 lines
1.4 KiB
Plaintext
===============================================================================
|
||
OSUBDL Fetch subs, senprobleme!
|
||
===============================================================================
|
||
|
||
2024 note: This is an old script; it probably doesn’t work anymore.
|
||
|
||
It's kind of annoying to visit OpenSubtitle's website.
|
||
First off, their site's shit.
|
||
Second off, it uses Javascript.
|
||
|
||
Let's get around that.
|
||
With `osubdl`, you can download subtitles for a given file in the
|
||
given language "automagically"~
|
||
|
||
|
||
|
||
----------------------------------------
|
||
PRE-REQUISITES
|
||
----------------------------------------
|
||
You'll need:
|
||
* To compile "oshash.h" to "oshash" and put it in your $PATH
|
||
* a POSIX-compatible shell (tested with `pdksh` and `bash`)
|
||
* "unzip" installed
|
||
* "curl" installed"
|
||
* Some videos <3
|
||
|
||
|
||
|
||
----------------------------------------
|
||
USAGE
|
||
----------------------------------------
|
||
Just run "osubdl" like so:
|
||
|
||
osubdl file [language] [destination]
|
||
|
||
The file should be, obviously, some TV episode or movie's video file.
|
||
The language defaults to "eng" (english), but you can choose any
|
||
three-char language code.
|
||
The destination defaults to the file's name, but with "srt" as the
|
||
file-extension.
|
||
|
||
|
||
|
||
----------------------------------------
|
||
BORING STUFF
|
||
----------------------------------------
|
||
License is CC-0
|
||
Author is Jenga Phoenix <jadedctrl@posteo.at>
|
||
Sauce is at https://hak.xwx.moe/jadedctrl/osubdl
|