requirements commented in download-subtitles.lua

This commit is contained in:
Tangent / Rose / Nebula Rosa 2024-09-23 17:37:44 -06:00 committed by GitHub
parent 4f9160461e
commit 364467bcf7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,5 +1,8 @@
#!/usr/bin/env luajit
-- requires chromium installed and usable
-- expects a single argument, a playlist to download subtitles from (channel URLs work as playlists)
local source = arg[1]
assert(source and #source > 0, "Specify a URL!")