A MangaDex plugin for Sopel IRC bots
Project description
sopel-mangadex
A MangaDex plugin for Sopel IRC bots
Installing
Releases are hosted on PyPI, so after installing Sopel, all you need is pip:
$ pip install sopel-mangadex
Using
sopel-mangadex automatically shows information about mangadex.org links in
recognized formats:
- Series:
https://mangadex.org/title/<UUID>[/<optional_slug>]
e.g.https://mangadex.org/title/de900fd3-c94c-4148-bbcb-ca56eaeb57a4/spice-and-wolf - Chapter:
https://mangadex.org/chapter/<UUID>[/<optional_page_number>
e.g.https://mangadex.org/chapter/3fed674e-663f-44d2-bc99-6145600fd46a/7
Output examples
Series page
<Sopel> [MangaDex] Ookami to Koushinryou | Content: 🟢
| 💯 Completed | Monsters, Animals, Romance, Adventure,
Fantasy, Slice of Life, Supernatural, Adaptation | Synopsis:
With his carthorse as his only companion, the young merchant
Kraft Lawrence slowly wends his way through dusty back roads
in search of profitable trade. But this monotony screeches to
a halt when, one night, he encounters a harvest goddess in
the guise of a beautiful […]
Chapter link
<Sopel> [MangaDex] (unknown title) | Chapter 1, page 7 of Kono Bijutsubu
ni wa Mondai ga Aru!
This particular chapter doesn't have a title of its own.
Series title language precedence
This plugin prioritizes romaji (ja-ro) titles, then English (en), then
finally falls back on Japanese (ja). If none of those translations exist, you
will see "Unknown title".
Note that some series may have incorrect language tags that make this logic
appear to break. For example, at time of writing, Kono Bijutsubu ni wa Mondai
ga Aru! from the sample chapter link output above has its romaji title tagged
as en instead of ja-ro. These cases need to be fixed on the MangaDex side;
trying to detect them in sopel-mangadex would be too fiddly.
Chapters only have one (optional) title string, in the language of that translation.
Changelog
0.1.0
First release of sopel-mangadex.
Handles the basics: Links to series pages, links to chapters.
Project details
Release history Release notifications | RSS feed
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 sopel_mangadex-0.1.0.tar.gz.
File metadata
- Download URL: sopel_mangadex-0.1.0.tar.gz
- Upload date:
- Size: 4.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
74cc6d5142516447f987f4ef24f51712e3ece515f56de573552502e231c5f617
|
|
| MD5 |
8ba8d884ef137247f90ef912cb182e81
|
|
| BLAKE2b-256 |
aba7a4f111257f42b6683674d5f02eb0868a851a8f29eff6cbc6ff8cfeb1cfc6
|
Provenance
The following attestation bundles were made for sopel_mangadex-0.1.0.tar.gz:
Publisher:
pypi.yml on dgw/sopel-mangadex
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
sopel_mangadex-0.1.0.tar.gz -
Subject digest:
74cc6d5142516447f987f4ef24f51712e3ece515f56de573552502e231c5f617 - Sigstore transparency entry: 1684128568
- Sigstore integration time:
-
Permalink:
dgw/sopel-mangadex@2827ff918a99da34728c306ad8b855c464513595 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/dgw
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi.yml@2827ff918a99da34728c306ad8b855c464513595 -
Trigger Event:
release
-
Statement type:
File details
Details for the file sopel_mangadex-0.1.0-py3-none-any.whl.
File metadata
- Download URL: sopel_mangadex-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ad4f4d63b86f34b247fb901b0916bb150f98746c2ef2e67d7f34794bba58ed18
|
|
| MD5 |
a26875ffb706d4ffb35ea7880cdaef35
|
|
| BLAKE2b-256 |
10c609d998404a8362717218bf94c9bb36cea12ce6f65457fd6ba0dbe70afa45
|
Provenance
The following attestation bundles were made for sopel_mangadex-0.1.0-py3-none-any.whl:
Publisher:
pypi.yml on dgw/sopel-mangadex
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
sopel_mangadex-0.1.0-py3-none-any.whl -
Subject digest:
ad4f4d63b86f34b247fb901b0916bb150f98746c2ef2e67d7f34794bba58ed18 - Sigstore transparency entry: 1684128619
- Sigstore integration time:
-
Permalink:
dgw/sopel-mangadex@2827ff918a99da34728c306ad8b855c464513595 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/dgw
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi.yml@2827ff918a99da34728c306ad8b855c464513595 -
Trigger Event:
release
-
Statement type: