~cadence/echo360-downloader

391e05d3c7b5d6647b9ec6d3e33d69235301afaf — Cadence Ember 9 months ago db09c42 main
Check for cookies.txt before starting
1 files changed, 6 insertions(+), 1 deletions(-)

M download.fish
M download.fish => download.fish +6 -1
@@ 33,13 33,18 @@ end

# ---

# checking for required arguments
# checking for required bits

if not exists $argv[1]
    se '[#] Give the echo360 URL ending with the section UUID as argument 1.'
    exit 1
end

if not test -f cookies.txt
    se '[#] A Netscape-compatible cookies.txt in this directory is required.'
    exit 1
end

# ---

# save original cookies