Skip to content

Commit

Permalink
Fixed SyntaxError in f-string
Browse files Browse the repository at this point in the history
  • Loading branch information
Commandcracker committed Jun 12, 2024
1 parent d704e82 commit b0cce73
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/gucken/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import warnings
warnings.filterwarnings('ignore', message='Using slow pure-python SequenceMatcher. Install python-Levenshtein to remove this warning')

__version__ = "0.2.0"
__version__ = "0.2.1"
2 changes: 1 addition & 1 deletion src/gucken/hoster/doodstream.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,6 @@ async def get_direct_link(self) -> DirectLink:
# Require Referer
response2 = await client.get(str(response1.url.copy_with(path=match.group())))
return DirectLink(
url=f"{response2.text}{random_str()}?token={match.group("token")}&expiry={js_date_now()}",
url=f"{response2.text}{random_str()}?token={match.group('token')}&expiry={js_date_now()}",
headers={"Referer": str(response2.url.copy_with(path="/"))},
)

0 comments on commit b0cce73

Please sign in to comment.