#naver #client #tapas #webtoons

webtoon

Client for interacting with various webtoon websites

9 releases (5 breaking)

Uses new Rust 2024

new 0.6.0 Mar 21, 2025
0.5.0 Mar 20, 2025
0.4.0 Mar 18, 2025
0.3.2 Dec 15, 2024
0.1.0 Oct 22, 2024

#108 in HTTP client

Download history 42/week @ 2024-12-02 472/week @ 2024-12-09 124/week @ 2024-12-16 17/week @ 2024-12-23 14/week @ 2025-01-06 43/week @ 2025-01-13 4/week @ 2025-01-20 18/week @ 2025-01-27 10/week @ 2025-02-03 4/week @ 2025-02-10 9/week @ 2025-02-17 403/week @ 2025-03-17

403 downloads per month

MIT/Apache

420KB
7.5K SLoC

Webtoon

Welcome to the webtoon library, a Rust-based SDK that allows you to interact with a Webtoon platform programmatically. This library provides a set of utilities and methods to handle various Webtoon-specific operations such as fetching episodes, posting comments, subscribing, liking, and managing episode metadata.

  • Currently only webtoons.com is supported.
  • More is planned!

Features

  • Fetch information about webtoons and their episodes.
  • Subscribe/unsubscribe to webtoons.
  • Like/unlike episodes.
  • Post and manage comments.
  • Retrieve detailed episode information such as views, published status, season number, etc.

Installation

MSRV: 1.85.0

To use this library, add webtoon to your Cargo.toml:

[dependencies]
webtoon = "0.6.0"

Example Usage

webtoons.com

use webtoon::platform::webtoons::{errors::Error, Client, Type};

#[tokio::main]
async fn main() -> Result<(), Error> {
    // Initialize the client
    let client = Client::new();
    
    // Fetch a webtoon by ID and Type
    let webtoon = client
        .webtoon(95, Type::Original)
        .await?
        .expect("No webtoon with this id and type on webtoon.com");
    
    // Fetch title and print to stdout
    println!("{}", webtoon.title().await?);

    Ok(())
}

For more examples, check out the examples folder.

Features

  • rss: Enables the ability to get the RSS feed data for a webtoon.
  • download: Enables the ability to download an episodes panels.

Dependencies

~13–28MB
~444K SLoC