Skip to content

Commit

Permalink
Fix format
Browse files Browse the repository at this point in the history
  • Loading branch information
zGadli authored and dipu-bd committed Feb 18, 2025
1 parent e6a19d8 commit 4092d2a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions sources/multi/wtrlab.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,10 +79,10 @@ def read_novel_info(self):
vol_title = f"Volume {vol_id}"
url = f"{self.home_url}{self.language}/serie-{serie_id}/{novel_slug}/chapter-{chap_id}"
chapter_title = f"Chapter {chap_id}"

if chap_id % 100 == 1:
self.volumes.append(Volume(id=vol_id, title=vol_title))

self.chapters.append(
Chapter(
id=chap_id,
Expand Down Expand Up @@ -110,7 +110,7 @@ def download_chapter_body(self, chapter):
details = series_data.get("chapter", {})
chapter.title = f"#{details.get('slug', chapter.title)}: {details.get('title', chapter.title)}"
text_lines = series_data.get("chapter_data", {}).get("data", {}).get("body", [])

return "".join(
[
f"<p>{t.strip()}</p>"
Expand Down

0 comments on commit 4092d2a

Please sign in to comment.