Skip to content

Commit 8eb8ff8

Browse files
authored
fix: remove spaces in twitter url (#71)
1 parent c57ff5a commit 8eb8ff8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

nazurin/sites/twitter/api.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,8 @@ def get_storage_dest(filename: str, tweet: dict, index: int = 0) -> Tuple[str, s
8383
def build_caption(tweet) -> Caption:
8484
return Caption(
8585
{
86-
"url": f"https://twitter.com/{tweet['user']['screen_name']}\
87-
/status/{tweet['id_str']}",
86+
"url": f"https://twitter.com/{tweet['user']['screen_name']}"
87+
+ f"/status/{tweet['id_str']}",
8888
"author": f"{tweet['user']['name']} #{tweet['user']['screen_name']}",
8989
"text": tweet["text"],
9090
}

0 commit comments

Comments
 (0)