Skip to main content

Spycis: Get url from stream websites

https://travis-ci.org/marcwebbie/spycis.svg https://coveralls.io/repos/marcwebbie/spycis/badge.png Code Health

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.

Metadata

Release files for spycis 0.0.6.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for spycis 0.0.6.1
File Size Uploaded Provenance Actions
spycis-0.0.6.1.tar.gz 22.1 kB Without provenance Details for spycis-0.0.6.1.tar.gz

Release files / spycis-0.0.6.1.tar.gz

Download URL spycis-0.0.6.1.tar.gz
Size 22.1 kB
Tags Source
SHA-256 checksum
How to use checksums
6fd8fea1e86cf8ffa6bd9ef4697ddf69a03d9ca05eaab09c612e8665eacc7941
BLAKE2b-256 checksum
How to use checksums
699b4f0c4633806c88bed53d302566d828b538497d5b14a9ad0f2c662eea5ac7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for spycis 0.0.6.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page