Git Product home page Git Product logo

faucet-py's Introduction

faucet.py

faucet.py is a cli downloader for drip.fm releases.

Pre-requisites

As with anything Python, it is recommended to use virtualenv.

$ wget https://pypi.python.org/packages/source/v/virtualenv/virtualenv-1.11.6.tar.gz
$ tar xvfz virtualenv-1.11.6.tar.gz
$ python virtualenv-1.11.6/virtualenv.py --system-site-packages -p /usr/bin/python2.7 ~/faucet/
$ source ~/faucet/bin/activate

Installation

Once virtualenv is set up, requests must be installed

(faucet)$ pip install requests

Downloading/unpacking requests
  Downloading requests-2.4.1-py2.py3-none-any.whl (458kB): 458kB downloaded
Installing collected packages: requests
Successfully installed requests
Cleaning up...

Clone this repository to get the latest and greatest code

(faucet)$ git clone https://github.com/reduxd/faucet-py.git

Cloning into 'faucet-py'...
remote: Counting objects: 12, done.
remote: Compressing objects: 100% (10/10), done.
remote: Total 12 (delta 1), reused 2 (delta 0)
Unpacking objects: 100% (12/12), done.
Checking connectivity... done.

Usage

In order to use begin using faucet, you must pass credentials as environment variables

(faucet)$ export [email protected]
(faucet)$ export FPASS=password123

Script usage is as follows

(faucet)$ python faucet.py <drip url> <format> <output>

Example

(faucet)$ python faucet.py https://drip.fm/owsla/releases/jack-u-take-u-there mp3 jacku.zip

[!] faucet.py by reduxd
[!] drip.fm downloader client
[!] http://github.com/reduxd/faucet-py

[!] Logged in as Itzael Martinez
    - Subscriptions:
      - Mad Decent
      - OWSLA

[!] Processing release:
      - Take Ü There by Jack Ü
      - OWSLA/Mad Decent/Big Beat/Atlantic Records

[!] Download successful!

faucet-py's People

Contributors

reduxd avatar

Stargazers

Justin Triplett avatar Daniel van Dorp avatar

Watchers

 avatar

faucet-py's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.