Skip to content
This repository has been archived by the owner on Aug 10, 2023. It is now read-only.

Commit

Permalink
follow redirects for #48
Browse files Browse the repository at this point in the history
  • Loading branch information
Antonio committed Jun 10, 2023
1 parent 45afb9b commit 45f4e35
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Bard.py
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,7 @@ async def __get_snlm0e(self):
resp = await self.session.get(
"https://bard.google.com/",
timeout=10,
follow_redirects=True,
)
if resp.status_code != 200:
raise Exception(
Expand Down

0 comments on commit 45f4e35

Please sign in to comment.