fix: cookies should be a string not a dict

Resolves #72
This commit is contained in:
Puyodead1 2021-11-10 09:12:11 -05:00
parent eb3257f374
commit 8ba33270ce

View File

@ -27,7 +27,7 @@ saved_dir = os.path.join(os.getcwd(), "saved")
keyfile_path = os.path.join(os.getcwd(), "keyfile.json")
cookiefile_path = os.path.join(os.getcwd(), "cookies.txt")
retry = 3
cookies = {}
cookies = ""
downloader = None
HEADERS = {
"Origin": "www.udemy.com",