Skip to content

Commit

Permalink
minor typo fix
Browse files Browse the repository at this point in the history
  • Loading branch information
raj454raj committed Mar 1, 2024
1 parent fae6532 commit 2bb5698
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/sites/hackerearth.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def is_website_down():
@staticmethod
def get_headers(response, referer):
cookie_value = response.headers["set-cookie"]
csrf_token = re.findall(r"csrftoken=\w*", cookie_value)[0][10:]
csrf_token = re.findall(r"csrfToken=\w*", cookie_value)[0][10:]
return {
"host": "www.hackerearth.com",
"user-agent": COMMON_USER_AGENT,
Expand Down

0 comments on commit 2bb5698

Please sign in to comment.