Skip to content

Commit

Permalink
modeus quick fix
Browse files Browse the repository at this point in the history
  • Loading branch information
depocoder committed Sep 23, 2024
1 parent 92c96bd commit 2f263db
Show file tree
Hide file tree
Showing 3 changed files with 51 additions and 43 deletions.
2 changes: 1 addition & 1 deletion backend/integration/modeus.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ async def login(username: str, __password: str, timeout: int = 15) -> Dict[str,
response = await session.post(
continue_auth_url,
data=auth_data,
follow_redirects=False,
allow_redirects=False,
)
headers = {"Referer": "https://fs.utmn.ru/"}
auth_id = response.cookies.get("commonAuthId")
Expand Down
88 changes: 48 additions & 40 deletions backend/poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions backend/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ requests = "^2.32.3"
undetected-chromedriver = "^3.5.5"
environs = "^11.0.0"
jwt = "^1.3.1"
httpx = {extras = ["http2"], version = "^0.27.2"}
beautifulsoup4 = "^4.12.3"
httpx = {version = ">=0.19.0,<0.20.0", extras = ["http2"]}
beautifulsoup4 = ">=4.10.0,<4.11.0"
blacksheep = {version = ">=2.0.0,<2.1.0", extras = ["full"]}
blacksheep-cli = "^0.0.4"
uvicorn = "0.22.0"
Expand Down

0 comments on commit 2f263db

Please sign in to comment.