Streaming fetcher library can be used to automatize downloads from streaming sites
Project description
Streaming fetcher
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c815e4630db0eb166961b9f1f18f0bddacf2a3f893521266d971a640248d346f
|
|
| MD5 |
4c995e6ac28a4549b6d47c06ef33c6c2
|
|
| BLAKE2b-256 |
2bbaae0b68ec104a0161218760c43c662b701030ed7502683b4ecc1d5596f99f
|
Provenance
The following attestation bundles were made for streaming_fetcher-0.3.0.tar.gz:
Publisher:
release.yml on RobertoBochet/streaming-fetcher
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
streaming_fetcher-0.3.0.tar.gz -
Subject digest:
c815e4630db0eb166961b9f1f18f0bddacf2a3f893521266d971a640248d346f - Sigstore transparency entry: 681975763
- Sigstore integration time:
-
Permalink:
RobertoBochet/streaming-fetcher@01f9cc062974658bc3af9dc9cfec893ab314f594 -
Branch / Tag:
refs/tags/v0.3.0 - Owner: https://github.com/RobertoBochet
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@01f9cc062974658bc3af9dc9cfec893ab314f594 -
Trigger Event:
push
-
Statement type:
File details
Details for the file streaming_fetcher-0.3.0-py3-none-any.whl.
File metadata
- Download URL: streaming_fetcher-0.3.0-py3-none-any.whl
- Upload date:
- Size: 24.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5a80b71b49fbb416a355eb7298e4bbf8d07850e3ef11b1b83c847b710188b21c
|
|
| MD5 |
71bb3486c0e352a67f52d593204c13ab
|
|
| BLAKE2b-256 |
da70e9cff60d4c15cf75aed2fdb7fe18d445d911fb1cba167094d0196c7d7ec2
|
Provenance
The following attestation bundles were made for streaming_fetcher-0.3.0-py3-none-any.whl:
Publisher:
release.yml on RobertoBochet/streaming-fetcher
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
streaming_fetcher-0.3.0-py3-none-any.whl -
Subject digest:
5a80b71b49fbb416a355eb7298e4bbf8d07850e3ef11b1b83c847b710188b21c - Sigstore transparency entry: 681975807
- Sigstore integration time:
-
Permalink:
RobertoBochet/streaming-fetcher@01f9cc062974658bc3af9dc9cfec893ab314f594 -
Branch / Tag:
refs/tags/v0.3.0 - Owner: https://github.com/RobertoBochet
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@01f9cc062974658bc3af9dc9cfec893ab314f594 -
Trigger Event:
push
-
Statement type: