1
0
mirror of https://github.com/mikf/gallery-dl.git synced 2024-11-22 18:53:21 +01:00

[tbscans] remove excess whitespace in 'manga'

This commit is contained in:
Mike Fährmann 2024-05-31 22:32:59 +02:00
parent 00440b8fb1
commit deacbcbfdf
No known key found for this signature in database
GPG Key ID: 5680CA389D365A88

View File

@ -30,7 +30,7 @@ class TcbscansChapterExtractor(ChapterExtractor):
page, 'font-bold mt-8">', "</h1>").rpartition(" - Chapter ")
chapter, sep, minor = chapter.partition(".")
return {
"manga": text.unescape(manga),
"manga": text.unescape(manga).strip(),
"chapter": text.parse_int(chapter),
"chapter_minor": sep + minor,
"lang": "en", "language": "English",