A tool to download subtitled videos from the website loadtup.com.
Go to file
mappu 6028c5589e doc/README: add changelog for v1.1.0 2021-04-12 12:49:48 +12:00
doc doc: add example image for teafolio project 2021-04-12 12:49:43 +12:00
.gitignore initial commit 2021-04-11 19:41:32 +12:00
README.md doc/README: add changelog for v1.1.0 2021-04-12 12:49:48 +12:00
crc32writer.go initial commit 2021-04-11 19:41:32 +12:00
go.mod add blank go.mod file 2021-04-12 12:45:58 +12:00
main.go support translator notes (scrcaps), emit ASS format instead of SRT 2021-04-12 12:16:25 +12:00
scrape.go support translator notes (scrcaps), emit ASS format instead of SRT 2021-04-12 12:16:25 +12:00
writesubs.go subtitles: adjust size/spacing 2021-04-12 12:36:25 +12:00

README.md

loadtup-dl

A tool to download subtitled videos from the website loadtup.com.

It downloads videos using youtube-dl; parses and converts loadtup's custom subtitle format to srt; and remuxes them together using mkvmerge, including the CRC32 in the resulting filename.

Installation

git clone https://git.ivysaur.me/code.ivysaur.me/loadtup-dl.git
cd loadtup-dl
go build
sudo cp ./loadtup-dl /usr/local/bin/loadtup-dl

Usage

Usage: loadtup-dl [options] [--] URL|- [URL...]

Supported URLs take the form 'https://loadtup.com/abcdefghijk'. Use a hyphen to
read equivalent loadtup.com HTML content from stdin.

Options:
  --youtube-dl PATH          Override path to youtube-dl
  --mkvmerge PATH            Override path to mkvmerge
  --mediainfo PATH           Override path to mediainfo
  --output PATH              Override output filename
                             (only valid for a single URL)
  --delete-temporary=false   Preserve temporary files
  --loglevel 0|1|2           Set verbosity (0=silent, 1=normal, 2=verbose)

Changelog

v1.1.0 (2020-04-12)

  • Feature: Support translator notes (scrcaps)
  • Feature: Set stream language and title for generated mkv file
  • Enhancement: Add custom logging levels
  • Fix invalid characters appearing in generated filenames
  • Fix misdetection of translator note usage
  • Fix duration of final subtitle entry (adds dependency on mediainfo)

v1.0.0 (2020-04-11)

  • Initial public release