meme dupe snitching/misc
This commit is contained in:
@ -52,9 +52,7 @@ class JesusMemeGenerator:
|
||||
if len(top_line) < 1 or len(bottom_line) < 1:
|
||||
return None
|
||||
|
||||
formed_url: str = (
|
||||
f"{self.MEMEAPIURL}{meme}&top={top_line.strip()}&bottom={bottom_line.strip()}"
|
||||
)
|
||||
formed_url: str = f"{self.MEMEAPIURL}{meme}&top={top_line.strip()}&bottom={bottom_line.strip()}"
|
||||
formed_url = self.url_regex_1.sub(
|
||||
"+", self.url_regex_2.sub("%23", formed_url.strip())
|
||||
)
|
||||
|
Reference in New Issue
Block a user