Skip to content

Commit

Permalink
fixing the cloudflare block in storytel
Browse files Browse the repository at this point in the history
  • Loading branch information
ssakkout authored and freddy36 committed Dec 27, 2024
1 parent 49124bf commit b1dd95f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion audiobookdl/sources/storytel.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ def _login(self, url: str, username: str, password: str) -> None:

def _do_login(self) -> None:
resp = self._session.post(
f"https://www.storytel.com/api/login.action?m=1&token=guestsv&userid=-1&version=24.22&terminal=android&locale=sv&deviceId=995f2562-0e44-4410-b1b9-8d08261f33c4&kidsMode=false",
f"https://www.storytel.com/api/login.action?m=1&token=guestsv&userid=-1&version=24.22&terminal=android&locale=sv&deviceId=42a38c7d-d51a-49f5-a79e-8922e797eccc&kidsMode=false",
data={
"uid": self._username,
"pwd": self._password,
Expand Down

0 comments on commit b1dd95f

Please sign in to comment.