Skip to main content

Streaming fetcher library can be used to automatize downloads from streaming sites

Project description

Streaming fetcher

GitHub GitHub Version PyPI - Version GitHub Workflow Status GitHub Workflow Status CodeFactor Grade

Streaming fetcher library can be used to automatize downloads from streaming sites.

Disclaimer

This project is in no way meant to be an incitement to piracy. But publishers often have no respect for the works they own the rights to. If a product is no longer profitable, it disappears into thin air and becomes legally unobtainable. This project exists to preserve these works of art.

Using

The library can be found on PyPi

pip install streaming-fetcher

The library needs to work playwright firefox. Before using it, you have to initialize it

playwright install --with-deps firefox

More information available in the official docs

Example

import asyncio
import logging
from pathlib import Path
from streaming_fetcher import StreamingFetcher, AnimeUnityFetchTask

# streaming_fetcher uses the python standard logging library
logging.basicConfig(level=logging.INFO)

anime_fetcher = StreamingFetcher(base_path=Path('/mnt/media-library'))

# add a task to retrieve episodes from anime unity
anime_fetcher.add_task(AnimeUnityFetchTask("42-hitchhikers-guide", episode_path=lambda season,episode: Path("Hitchhiker's Guide") / f"Hitchhiker's Guide S{season:02d}E{episode:02d}.mp4"))

asyncio.run(anime_fetcher.run())

Supported sites

  • streamingcommunity.computer StreamingCommunityFetchTask
  • animeunity.to AnimeUnityFetchTask

Project details


Download files

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

Source Distribution

streaming_fetcher-0.3.0.tar.gz (20.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

streaming_fetcher-0.3.0-py3-none-any.whl (24.6 kB view details)

Uploaded Python 3

File details

Details for the file streaming_fetcher-0.3.0.tar.gz.

File metadata

  • Download URL: streaming_fetcher-0.3.0.tar.gz
  • Upload date:
  • Size: 20.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for streaming_fetcher-0.3.0.tar.gz
Algorithm Hash digest
SHA256 c815e4630db0eb166961b9f1f18f0bddacf2a3f893521266d971a640248d346f
MD5 4c995e6ac28a4549b6d47c06ef33c6c2
BLAKE2b-256 2bbaae0b68ec104a0161218760c43c662b701030ed7502683b4ecc1d5596f99f

See more details on using hashes here.

Provenance

The following attestation bundles were made for streaming_fetcher-0.3.0.tar.gz:

Publisher: release.yml on RobertoBochet/streaming-fetcher

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file streaming_fetcher-0.3.0-py3-none-any.whl.

File metadata

File hashes

Hashes for streaming_fetcher-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5a80b71b49fbb416a355eb7298e4bbf8d07850e3ef11b1b83c847b710188b21c
MD5 71bb3486c0e352a67f52d593204c13ab
BLAKE2b-256 da70e9cff60d4c15cf75aed2fdb7fe18d445d911fb1cba167094d0196c7d7ec2

See more details on using hashes here.

Provenance

The following attestation bundles were made for streaming_fetcher-0.3.0-py3-none-any.whl:

Publisher: release.yml on RobertoBochet/streaming-fetcher

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page