From 8ba33270ce6e42ea240b1b5a7573c102d78a4bb4 Mon Sep 17 00:00:00 2001 From: Puyodead1 <23562356riley@gmail.com> Date: Wed, 10 Nov 2021 09:12:11 -0500 Subject: [PATCH] fix: cookies should be a string not a dict Resolves #72 --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index ffcba82..c18c269 100644 --- a/main.py +++ b/main.py @@ -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",