aboutsummaryrefslogtreecommitdiff
path: root/plugins/mangaplus.py
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/mangaplus.py')
-rwxr-xr-xplugins/mangaplus.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/mangaplus.py b/plugins/mangaplus.py
index 7104d80..0d87ddc 100755
--- a/plugins/mangaplus.py
+++ b/plugins/mangaplus.py
@@ -219,7 +219,7 @@ def list_chapters(url, chapter_list_input):
for item in chapter_list_input:
title = item.get("title")
if title and len(title) > 0:
- seen_titles.add(title.lower().replace(" ", ""))
+ seen_titles.add(title.lower().replace(" ", "").replace("/", "_"))
seen_urls = set()
for item in chapter_list_input:
@@ -235,7 +235,7 @@ def list_chapters(url, chapter_list_input):
chapters = []
for chapter in reversed(all_chapters):
- title = chapter.subtitle
+ title = chapter.subtitle.replace("/", "_")
url = "https://mangaplus.shueisha.co.jp/viewer/{0}".format(chapter.id)
if title.lower().replace(" ", "") in seen_titles or url in seen_urls:
break