1
0
mirror of https://github.com/mikf/gallery-dl.git synced 2024-11-25 04:02:32 +01:00

Fixing syntax on python 3.5, the sad days before f-strings

This commit is contained in:
Deer-Spangle 2024-08-31 15:22:39 +01:00
parent 311272f55a
commit 01ace529b6

View File

@ -170,7 +170,7 @@ class WeasylFavoriteExtractor(WeasylExtractor):
def items(self):
if self.userid is None and self.username is not None:
new_url = self.root + f"/favorites/{self.username}"
new_url = self.root + "/favorites/{}".format(self.username)
page = self.request(new_url).text
self.userid = text.extr(
page,