Coder Social home page Coder Social logo

ripr's Introduction

ripr

A tiny app to record any internet stream

Requirements

Python 3

It was written solely in Py3k so if you want Python 2, you'll have to run 3to2.py or port it over. Pull requests gladly accepted, so long as you create compatibility shims in the code base so there aren't duplicates of everything.

Usage

from command line

>>>python __init__.py URL HH:MM:SS -p PATHTOLOCALFILE

It writes to the local file after the elapsed time the file you ripped. For example this records wemu for 1 minute to the same directory as the init file but you can give it any fully qualified full path with any extension:

python __init__.py http://pubint.ic.llnwd.net/stream/pubint_wemu  00:01:00 -p output.mp3

ripr's People

Contributors

pancho-villa avatar

Stargazers

 avatar

Watchers

 avatar

ripr's Issues

Program randomly doesn't record for the full amount of time

Randomly the program will stop short of the full recording time. 99.9% of functionality is related to the urlretrieve method in the urllib.request library. Perhaps it can be copied and refactored to check if it doesn't have a full block size read from the socket to restart or continue anyways. Currently it fails if it's not a full buffer sized read.

Rename the core file

It's ugly as hell to use the init.py file, either make it a full library or rename the file. Alternatively, use setup.py to make it installable and callable from anywhere so long as it's installed in the user's path.

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.