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:
@@ -193,7 +193,7 @@ class SankakuBooksExtractor(SankakuExtractor):
|
||||
params = {"tags": self.tags, "pool_type": "0"}
|
||||
for pool in self.api.pools_keyset(params):
|
||||
pool["_extractor"] = SankakuPoolExtractor
|
||||
url = f"https://sankaku.app/books/{pool['id']}"
|
||||
url = "https://sankaku.app/books/" + pool["id"]
|
||||
yield Message.Queue, url, pool
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user