This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Console interface to stream websites

Project Description

Spycis is a python console interface to stream websites. With spycis can search, download, stream locally, watch streaming site videos with only one command.

Installing

Install

pip install spycis

Update

pip install -U spycis

Uninstall

pip uninstall spycis

Quickstart

# searching for available streams
spycis "Breaking Bad"

# getting stream url for episode 6 from season 4 of Breaking Bad
spycis "Breaking Bad" -s s04e06

# getting download url for episode 6 from season 4 of Breaking Bad
spycis "Breaking Bad" -r s04e06

# downloading episode 6 from season 4 of Breaking Bad
# requires: wget
spycis "Breaking Bad" -r s04e06 --download

# stream episode 6 from season 4 of Breaking Bad
# requires: vlc
spycis "Breaking Bad" -r s04e06 --stream

# play episode 6 from season 4 of Breaking Bad
# requires: vlc
spycis "Breaking Bad" -r s04e06 --play

# play episode 6 from season 4 of Breaking Bad with subtitles
# requires: vlc
spycis "Breaking Bad" -r s04e06 --play --subtitles /path/to/subtitles.srt

# list available sites
# spycis --site-list

Writing plugins

Wrappers

Wrappers are stream website scrapers. They find stream urls on the given site and return a list of Media objects representing them.

  • Write a module with the name of the website wrapped
  • Create a subclass spycis.wrappers.common.BaseWrapper
  • Drop the module into spycis.wrappers package

Extractors

Extractors find direct download url in stream urls found by Wrappers.

  • Write a module with the name of the stream website from where you extract urls
  • Create a subclass spycis.wrappers.common.BaseExtractor
  • Drop the module into spycis.extractors package

License (WTFPL)

DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004

Copyright (C) 2013-2014 Marc Webbie https://github.com/marcwebbie

Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.

DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION

0. You just DO WHAT THE FUCK YOU WANT TO.
Release History

Release History

This version
History Node

0.0.6.1

History Node

0.0.6

History Node

0.0.5

History Node

0.0.4

History Node

0.0.3

History Node

0.0.2.1

History Node

0.0.2

History Node

0.0.1-dev13

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
spycis-0.0.6.1.tar.gz (22.1 kB) Copy SHA256 Checksum SHA256 Source Dec 1, 2014

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting