aboutsummaryrefslogtreecommitdiff
path: root/src/due/html.py
diff options
context:
space:
mode:
authorFuwn <[email protected]>2023-07-26 22:15:29 -0700
committerFuwn <[email protected]>2023-07-26 22:15:29 -0700
commitb75aa4cd4e6e9098db55774f9969798f2a3b9b96 (patch)
tree0d679af4ff34889d281272780a8c52a9288d34a0 /src/due/html.py
parentfix(html): initial search with native title (diff)
downloadold.due.moe-b75aa4cd4e6e9098db55774f9969798f2a3b9b96.tar.xz
old.due.moe-b75aa4cd4e6e9098db55774f9969798f2a3b9b96.zip
fix(html): use english or romaji title first
Diffstat (limited to 'src/due/html.py')
-rw-r--r--src/due/html.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/due/html.py b/src/due/html.py
index 27eb13a..c2f78a7 100644
--- a/src/due/html.py
+++ b/src/due/html.py
@@ -199,7 +199,7 @@ def manga_to_html(releasing_outdated_manga, show_missing):
)
current_html.append(
- f'<li><a href="https://anilist.co/manga/{id}" target="_blank">{title}</a> {progress} [{available_link}]</li>'
+ f'<li><a href="https://anilist.co/manga/{id}" target="_blank">{manga["title"]["english"] or manga["title"]["romaji"] or title}</a> {progress} [{available_link}]</li>'
)
joblib.Parallel(n_jobs=int(os.getenv("CONCURRENT_JOBS")) or 4, require="sharedmem")(