mirror of
https://github.com/TangentFoxy/.lua-files.git
synced 2024-11-20 21:34:23 +00:00
requirements commented in download-subtitles.lua
This commit is contained in:
parent
4f9160461e
commit
364467bcf7
@ -1,5 +1,8 @@
|
|||||||
#!/usr/bin/env luajit
|
#!/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]
|
local source = arg[1]
|
||||||
assert(source and #source > 0, "Specify a URL!")
|
assert(source and #source > 0, "Specify a URL!")
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user