Metadata-Version: 2.4
Name: wtyt
Version: 0.1.3
Summary: Makeshift Webtoon integration for Yamtrack
Author: GideonBear
Author-email: GideonBear <dig-sultry-sedate@duck.com>
License-Expression: GPL-3.0-only
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.14
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Typing :: Typed
Requires-Dist: browser-cookie3>=0.20.1
Requires-Dist: catbox-api>=1.3
Requires-Dist: requests>=2.33.1
Requires-Dist: webtoon-api>=0.1
Requires-Python: >=3.14
Project-URL: bugs, https://github.com/GideonBear/wtyt/issues
Project-URL: homepage, https://github.com/GideonBear/wtyt
Description-Content-Type: text/markdown

# wtyt

## Installation

```bash
# Using uv (will automatically install Python if necessary):
uv tool install wtyt
# Using pipx:
pipx install wtyt
# Using pip:
pip install wtyt
```

## Usage

Huginn scenario:

```json
{
  "schema_version": 1,
  "name": "Webtoon",
  "description": "No description provided",
  "source_url": false,
  "guid": "5c7fa8b004a758f557af3fbdda7abfef",
  "tag_fg_color": "#ffffff",
  "tag_bg_color": "#5bc0de",
  "icon": "book",
  "exported_at": "2026-04-23T17:55:18Z",
  "agents": [
    {
      "type": "Agents::RssAgent",
      "name": "Webtoons input",
      "disabled": false,
      "guid": "0d13e9c4d0f0b60610538129f727b752",
      "options": {
        "url": [],
        "clean": "false",
        "include_feed_info": true,
        "remembered_id_count": 100000,
        "expected_update_period_in_days": "7"
      },
      "schedule": "every_1d",
      "keep_events_for": 0
    },
    {
      "type": "Agents::CommanderAgent",
      "name": "Webtoons commander",
      "disabled": false,
      "guid": "37216ffd92a6186cb28927cb407e174c",
      "options": {
        "action": "configure",
        "configure_options": {
          "url": "{{urls | as_object}}"
        }
      },
      "schedule": "never",
      "propagate_immediately": false
    },
    {
      "type": "Agents::WebsiteAgent",
      "name": "Webtoons get comics",
      "disabled": false,
      "guid": "3d20d3d50128d389fa84c034b552ba81",
      "options": {
        "url": "http://172.17.0.1:1821/comics-rss.txt",
        "mode": "all",
        "type": "json",
        "extract": {
          "urls": {
            "path": "urls"
          }
        },
        "expected_update_period_in_days": "2"
      },
      "schedule": "11pm",
      "keep_events_for": 0,
      "propagate_immediately": false
    },
    {
      "type": "Agents::DataOutputAgent",
      "name": "Webtoons RSS output",
      "disabled": false,
      "guid": "ebdcec24c18d9bd21d1c9aac2519d0dd",
      "options": {
        "secrets": [
          "INSERT_RSS_SECRET"
        ],
        "ns_media": "false",
        "template": {
          "item": {
            "link": "{{ url | replace: \"www.webtoons.com\", \"m.webtoons.com\" }}",
            "title": "{{feed.title}} - {{title}}"
          },
          "title": "Webtoons",
          "description": "Webtoons aggregated, generated by Huginn"
        },
        "events_to_show": 100,
        "expected_receive_period_in_days": "2"
      },
      "propagate_immediately": false
    }
  ],
  "links": [
    {
      "source": 0,
      "receiver": 3
    },
    {
      "source": 2,
      "receiver": 1
    }
  ],
  "control_links": [
    {
      "controller": 1,
      "control_target": 0
    }
  ]
}
```

## Python version support

This project will only ever support the latest released minor version of python, but will most likely work on older
versions as well. Change `requires-python` manually in `pyproject.toml` if necessary.
