# SPDX-FileCopyrightText: 2021-2024 Lili Kurek
# SPDX-License-Identifier: GPL-3.0-or-later
# Author: Lili Kurek <lilikurek@proton.me>

from komikku.servers.multi.guya import Guya


class Hachirumi(Guya):
    id = 'hachirumi'
    name = 'Hachirumi'
    lang = 'en'
    is_nsfw = True

    base_url = 'https://hachirumi.com'
    logo_url = base_url + '/static/logo-mt-squared-small.png?v=9638daf'
    manga_url = base_url + '/read/manga/{0}/'
    api_manga_url = base_url + '/api/series/{0}/'
    page_image_url = base_url + '/media/manga/{0}/chapters/{1}/{2}'
