Skip to main content

Send discord webhooks with all the daily releases from webtoon

Project description

Webtoon Hooks

discord webhooks package for webtoons.com information

Installation

pip install WebtoonHooks

Usage

Send complete designed webhook with all the daily releases

Daily update

>>> from WebtoonHooks import ReleaseHook
>>> release = ReleaseHook()
>>> release.send("SECRET-WEBHOOK-URL")

Send webhook with the weekly hot webtoons

Weekly hot

>>> from WebtoonHooks import WeeklyHotHook
>>> hot = WeeklyHotHook()
>>> hot.send("SECRET-WEBHOOK-URL")

Get list of the dailies releases

>>> WebtoonHooks.get_daily_releases()   # list(<WebtoonHooks.Card>)
[
    Card(Boyfriend of the Dead, Comedy, Ushio, linked),
    Card(My Giant Nerd Boyfriend, Slice of life, fishball, linked),
    Card(Muted, Drama, Miranda Mundt, linked),
    ...
]

Get list of the weekly hot webtoons

>>> WebtoonHooks.get_weekly_hot()   # list(<WebtoonHooks.Card>)

Card object

Represent one daily_card or discover_item from dailySchedule or challenge

  • Subject
  • Author name
  • Genre
  • Link to episodes list
  • Number of likes
  • New / Paused / UP tags
>>> card.href
'https://www.webtoons.com/en/comedy/boyfriend-of-the-dead/list?title_no=1102'
>>> card.subject
'Boyfriend of the dead'
>>> card.is_new
True

Made with 💗 for LINE WEBTOON by Aluma Gelbard.

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

WebtoonHooks-2.0.2-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

Details for the file WebtoonHooks-2.0.2-py3-none-any.whl.

File metadata

  • Download URL: WebtoonHooks-2.0.2-py3-none-any.whl
  • Upload date:
  • Size: 4.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.11.1 setuptools/41.0.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.6

File hashes

Hashes for WebtoonHooks-2.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 0c50b960eae089ece212238b99a562448dd16d49b760b573d0c4726eee5d2461
MD5 ee90c043fb3206e9b59bf0d848b6f654
BLAKE2b-256 063e36a5ce5467e078c8915765856210130ba728b8a8359884e6c5e184680f95

See more details on using hashes here.

Supported by

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