0.0
No commit activity in last 3 years
No release in over 3 years
Freakonomics is a CLI app built with Ruby. It's purpose is to download episodes of Freakonomics Radio via the command line.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.10
~> 5.8
~> 10.0

Runtime

~> 1.6.6.0
 Project Readme

Freakonomics

Code Climate Test Coverage Build Status

Freakonomics is a CLI app built with Ruby. It's purpose is to download episodes of one of my favourite podcasts - Freakonomics.

Installation

Install it yourself as:

$ gem install freakonomics

Usage

Download latest episode

You can download the latest episode via:

freak latest

You can also specify a download path:

freak latest -p/--path "freakonomics_episodes/new"

Download all episodes

You can download all episodes via:

freak all

You can also specify a download path:

freak all -p/--path path_to_all_episodes

Note: The directory will be created if it does not exist.

Download single episode

By name:

freak episode --name "Do More Expensive Wines Taste Better?"

By release date:

freak episode --date "01 Dec 2010"

Also, works with path:

freak episode --date "01 Dec 2010" --path path_to_episodes
freak episode --name "Do More Expensive Wines Taste Better?" --path path_to_episodes

To do

  • Download latest
  • Download latest with path
  • Download all
  • Download all with path
  • Download single episode by name
  • Download single episode by release date
  • Download single episode by name with path
  • Download single episode by release date with path
  • Test coverage!

Development

After checking out the repo, run bin/setup to install dependencies. Then, run rake spec to run the tests. You can also run bin/console for an interactive prompt that will allow you to experiment.

To install this gem onto your local machine, run bundle exec rake install. To release a new version, update the version number in version.rb, and then run bundle exec rake release, which will create a git tag for the version, push git commits and tags, and push the .gem file to rubygems.org.

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/fteem/freakonomics.

License

See LICENSE.