From bf935c9c2cd4555c4206cbb0c0c0f3b2c522bfa4 Mon Sep 17 00:00:00 2001 From: terminaldweller Date: Sat, 28 Jan 2023 18:15:37 +0330 Subject: updates for the template --- magni.py | 4 ++-- template.jinja2 | 22 +++++++++++++++++++++- 2 files changed, 23 insertions(+), 3 deletions(-) diff --git a/magni.py b/magni.py index dde17f7..3c9d12e 100755 --- a/magni.py +++ b/magni.py @@ -1,6 +1,6 @@ #!/usr/bin/env python """Magni.""" -# HTTPS_PROXY=socks5h://127.0.0.1:9995 ./magni.py --url https://chapmanganato.com/manga-dt980702/chapter-184 +# HTTPS_PROXY=socks5h://127.0.0.1:9094 ./magni.py --url https://chapmanganato.com/manga-dt980702/chapter-184 import argparse import asyncio @@ -28,7 +28,7 @@ class Argparser: # pylint: disable=too-few-public-methods "-u", type=str, help="the url to the page containing the images", - default=False, + default="", ) self.parser.add_argument( "--method", diff --git a/template.jinja2 b/template.jinja2 index 1ba2f40..0c6ede3 100644 --- a/template.jinja2 +++ b/template.jinja2 @@ -5,12 +5,32 @@ {% block title %}{% endblock %} +

{% for image in image_list %} - + {% endfor %}

-- cgit v1.2.3