Skip to content

Commit

Permalink
Redirection allowed
Browse files Browse the repository at this point in the history
  • Loading branch information
M-Enes committed Jul 29, 2024
1 parent dcf1d6f commit e0ee183
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion func.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def saveInjectablesToFile(self):

async def fetch(self, session:aiohttp.ClientSession, url:str):
try:
async with session.get(url,timeout=self.timeout) as resp:
async with session.get(url, allow_redirects=True, timeout=self.timeout) as resp:
return (await resp.text() , url)
except Exception as e:
return ("", url)
Expand Down

0 comments on commit e0ee183

Please sign in to comment.