Module mangdl.api.providers.mangazuki

Expand source code
import re
from ast import literal_eval

from ..base import urel

scanlator = "manga ZUKI"
base_url = "https://mangazuki.me"
template = "wordpress"

total_cs = ".c-blog__heading h4"

rchnfp = re.compile(r"[0-9]+(-[0-9])*")

def rch_num_fn(url):
    parts = urel(url).parts
    op = rchnfp.search(parts[3]).group().replace("-", ".")
    return literal_eval(op)

Functions

def rch_num_fn(url)
Expand source code
def rch_num_fn(url):
    parts = urel(url).parts
    op = rchnfp.search(parts[3]).group().replace("-", ".")
    return literal_eval(op)