Skip to content

Commit 961c4a7

Browse files
committed
refactor: remove line breaks in url strings
1 parent 667641a commit 961c4a7

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

nlightreader/parsers/combined/lib/lib_base.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ def search_manga(self, form: RequestForm) -> list[Manga]:
6060

6161
def get_chapters(self, manga: Manga) -> list[Chapter]:
6262
branches_url = (
63-
f"{self.url_api}/" f"branches/{manga.content_id.split('--')[0]}"
63+
f"{self.url_api}/branches/{manga.content_id.split('--')[0]}"
6464
)
6565

6666
branches = {}
@@ -69,8 +69,7 @@ def get_chapters(self, manga: Manga) -> list[Chapter]:
6969
branches.update({branch["id"]: branch["teams"][0]["name"]})
7070

7171
chapters_url = (
72-
f"{self.url_api}/{self.content_name}/"
73-
f"{manga.content_id}/chapters"
72+
f"{self.url_api}/{self.content_name}/{manga.content_id}/chapters"
7473
)
7574

7675
chapters: list[Chapter] = []

0 commit comments

Comments
 (0)