Sakurajima
Sakurajima is a Python API wrapper for AniWatch.
Disclaimer
Using this tool comes with a high risk of getting banned on AniWatch.
Installation
Use the package manager pip to install Sakurajima.
pip install sakurajima
Usage
Get you user details. If you have no idea how to do that feel free to read our guide.
from Sakurajima import Sakurajima
if __name__ == "__main__":
# Setup our instance of Sakurajima
# Username User ID Auth token
client = Sakurajima("Sakurajima", "106960", "J2ltJtj9yg1bmly4vKVZWcJe7PKlOF05")
my_anime = client.search("Somali to Mori no Kamisama")[0] # Search for "Somali to Mori no Kamisama" and get the first Anime object in the list
all_episodes = my_anime.get_episodes() # Get all the episodes from our Anime object
episode = all_episodes.get_episode_by_number(4) # Get the 4th episode from our all_episodes object, you can also use all_episodes[3]
episode.download("fullhd", "Somali - Ep. 4", True) # Download the episode in 1080p into "Somali - Ep. 4.mp4" using multiple threads
If you have problems playing downloaded videos in the default windows player you can use ffmpeg to merge the chunks or include the intro chunk.
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
License
Metadata
Release files for sakurajima 0.3.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| sakurajima-0.3.1.tar.gz | 23.6 kB | Without provenance | Details for sakurajima-0.3.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| sakurajima-0.3.1-py3-none-any.whl | Python 3 | none | any | Details for sakurajima-0.3.1-py3-none-any.whl |
Total release size: 54.2 kB
Release files / sakurajima-0.3.1.tar.gz
| Download URL | sakurajima-0.3.1.tar.gz |
|---|---|
| Size | 23.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4f9b98580a083964e787c9ab1c73e9795580098b67445b8817f13a3f0dbccc2d
|
|
BLAKE2b-256 checksum How to use checksums |
05107e1a6d9ed040079cc303ab9682d6ba79006b3ebed609e0059f9e65f6ffb9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5
|
Release files / sakurajima-0.3.1-py3-none-any.whl
| Download URL | sakurajima-0.3.1-py3-none-any.whl |
|---|---|
| Size | 30.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a83132d130b0f76370d0863b956116c3ed3794e85fa6c9a7b313c57b7810f0c0
|
|
BLAKE2b-256 checksum How to use checksums |
a31946438d198204b57f5eeb5a6252f09322b20433b3461c569a2b9e33ef7743
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5
|
Security for sakurajima 0.3.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.