discord webhooks package for webtoons.com information
pip install WebtoonHooks
>>> from WebtoonHooks import ReleaseHook
>>> release = ReleaseHook()
>>> release.send("SECRET-WEBHOOK-URL")
>>> from WebtoonHooks import WeeklyHotHook
>>> hot = WeeklyHotHook()
>>> hot.send("SECRET-WEBHOOK-URL")
>>> 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),
...
]
>>> WebtoonHooks.get_weekly_hot() # list(<WebtoonHooks.Card>)
Represent one daily_card
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'
<<<<<<< HEAD
>>> card.is_new
True
Made with 💗 for LINE WEBTOON by Aluma Gelbard.