Comer de Tapas

Gem Version Build Status Dependency Status Inline docs Code Climate Coverage

Ruby Tapas Downloader episodes for subscribers.

Installation

$ gem install comer_de_tapas

Preparation

$ comer_de_tapas init

This will create a directory ~/.rubytapas And a yaml ~/.rubytapas/.credentials.

Please fill in your subscription information in ~/.rubytapas/.credentials.

Example:

---
credentials:
- email: [email protected]
- password: password
- save_path: ~/Downloads

If you want to save all Ruby Tapas episodes in your home folder. Please write it explicily as: /Users/YOUR-USER-NAME, please do not write ~, because in Ruby, ~ considered as nil in YAML.

Usage

After you filled subscription information, you can download episodes via this command:

$ comer_de_tapas download

Will fetch all episodes, then start to download it.

By default it will save a ~/.rubytapas/episodes.json, to cache all episode attachment links for 3 days.

Why 3 days? Because normally our Chef Avdi ships new episode in 3.75 days on average.

But if Avdi ships within < 3 days, you can force it to get latest episodes:

$ comer_de_tapas download --force # or `-f`.

Command References

command purpose Options
comer_de_tapas init Initialize ComerDeTapas.
comer_de_tapas download Download episodes. -f
comer_de_tapas version Display version of Comer de Tapas

Similar Tools

Questions

Feel free to open an issue.

Development

Please see DEVELOPMENT and CONTRIBUTING.

If you like this small tool, please give it a tweet!

License

MIT License. Please see LICENSE.