Skip to content

Commit

Permalink
Fix hardcoded URLs
Browse files Browse the repository at this point in the history
  • Loading branch information
Christopher Thorne committed Apr 18, 2020
1 parent 73a2d73 commit 36ba5a1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions webcookie.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,12 +80,12 @@
r = s.get(
url=login_url,
headers={
"Host": "fs.auth.wfp.org",
"Host": FS_AUTH_HOST,
"User-Agent": "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0",
"Accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8",
"Accept-Language": "en-GB,en;q=0.5",
"Accept-Encoding": "gzip, deflate, br",
"Referer": "https://vpn.wfp.org/",
"Referer": "https://{}".format(VPN_HOST),
"DNT": "1",
"Connection": "keep-alive",
"Upgrade-Insecure-Requests": "1",
Expand Down

0 comments on commit 36ba5a1

Please sign in to comment.