replace 2-element f-strings with simple '+' concatenations
Python's 'ast' module and its 'NodeVisitor' class were incredibly helpful in identifying these
This commit is contained in:
@@ -278,7 +278,7 @@ class FoolfuukaGalleryExtractor(FoolfuukaExtractor):
|
||||
base = f"{self.root}/_/api/chan/gallery/?board={self.board}&page="
|
||||
|
||||
for pnum in pages:
|
||||
posts = self.request_json(f"{base}{pnum}")
|
||||
posts = self.request_json(base + str(pnum))
|
||||
if not posts:
|
||||
return
|
||||
yield from posts
|
||||
|
||||
Reference in New Issue
Block a user