Strip
This commit is contained in:
parent
909b0d3b40
commit
aa71587aea
@ -17,7 +17,7 @@ from bs4 import BeautifulSoup
|
||||
|
||||
home = str(Path.home())
|
||||
with open(os.path.join(home, ".aoc-cookie"), "r", encoding='utf8') as file:
|
||||
cookie = file.read()
|
||||
cookie = file.read().replace("\n", " ").strip()
|
||||
|
||||
session = requests.Session()
|
||||
session.cookies["session"] = cookie
|
||||
|
Loading…
Reference in New Issue
Block a user