Skip to content

Commit

Permalink
Fix python 3.5 linting issue
Browse files Browse the repository at this point in the history
  • Loading branch information
bug-assassin committed Dec 27, 2023
1 parent 06ff1d3 commit 2eacb64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gallery_dl/extractor/bato.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def metadata(self, page):
r"Chapter *([\d\.]+)", info)
manga, volume, chapter = match.groups() if match else ("", "", info)
chapter, sep, minor = chapter.partition(".")
title_container = text.extr(page, f'<a href="{self.path}"', "</a>")
title_container = text.extr(page, f"<a href=\"{self.path}\"", "</a>")
title = text.extr(title_container, "<!-- -->", "</span>")

return {
Expand Down

0 comments on commit 2eacb64

Please sign in to comment.