shinden.py

bs4 based web scrapping api for shinden.pl
Required libraries:
- BeautifulSoup4
- requests
- pytest (for testing)
Usage
Installation
Using pip:
pip install shinden
Result
Results are returned using Result object with following attributes:
- title: the title of the series,
- tags: list of tags,
- ratings: dict of specific ratings,
- type: type of series,
- episodes: number of episodes,
- status: status of series (eg. ongoing, finished)
- top_score: overall score
- url: url to the shinden.pl page of the series
- cover_url: url to the cover image
- search_url: url from which the result was extracted
Example
Importing with import alias
import shinden as sh
Generating a list of Result objects based on first page of shinden search engine
anime_list = sh.search_titles('alchemist')
# [a list of Result objects]
Getting the title of the first result
anime_list[0].title
# "Fullmetal Alchemist"
Metadata
Release files for shinden 0.5
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 |
|---|---|---|---|---|
| shinden-0.5.tar.gz | 8.4 kB | Without provenance | Details for shinden-0.5.tar.gz |
Release files / shinden-0.5.tar.gz
| Download URL | shinden-0.5.tar.gz |
|---|---|
| Size | 8.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c3d46bb798e97d449848fc7e40df89cd70b4354b1f8506624a03bb1154939089
|
|
BLAKE2b-256 checksum How to use checksums |
594bef7debb4bcf00108817fc97939c85b2e150caed3bfd202a8d9b78cad66bb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.42.0 CPython/3.7.4
|
Security for shinden 0.5
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.