/sipper

Elixir Sips downloader written in Elixir.

Primary LanguageElixir

Sipper

Build Status

Downloader for Elixir Sips, implemented in Elixir for fun and learning.

Screenshot

Usage

You need a paid account with Elixir Sips. Then build the downloader and run it.

Building

Clone this repo and:

mix deps.get
mix escript.build  # (or just "mix": this is the default task)

This builds a sipper executable in the current directory.

The sipper executable is self-contained and can run on any machine with Erlang installed. Read more.

Downloading

Now you can download episodes with:

./sipper --user me@example.com --pw mypassword

If you want to limit the download to e.g. the last 3 episodes, do:

./sipper --user me@example.com --pw mypassword --max 3

By default, files end up in ./downloads. You can specify another destination (automatically created if it doesn't exist):

./sipper --user me@example.com --pw mypassword --dir ~/Downloads/Elixir\ Sips

If a file exists on disk, it won't be downloaded again.

Saved configuration

If you don't want to specify these parameters each time, you can put them in a ~/.sipper file, containing e.g.

--user me@example.com --pw mypassword --dir ~/Downloads/Elixir\ Sips

Then you can just run the app like:

./sipper

Don't be evil

Be kind: only download for personal use.

Also see

License

By Henrik Nyh 2015-09-17 under the MIT license.