techtanic/Discounted-Udemy-Course-Enroller

not working sins 2 days

Closed this issue · 0 comments

Describe the bug
script was working fine 2 days ago but suddenly giving error i regular used Duce Gui windows app but now giving error when i open it
i also tried to run cli.py in python but that one also giving error
here is cli.py error
Trying to login

Traceback (most recent call last):
  File "C:\Users\Hp\Downloads\Compressed\New folder (4)\Discounted-Udemy-Course-Enroller-master\cli.py", line 79, in <module>
    udemy.manual_login(email, password)
  File "C:\Users\Hp\Downloads\Compressed\New folder (4)\Discounted-Udemy-Course-Enroller-master\base.py", line 501, in manual_login
    csrf_token = r.cookies["csrftoken"]
  File "C:\Users\Hp\AppData\Local\Programs\Python\Python310\lib\site-packages\requests\cookies.py", line 334, in __getitem__
    return self._find_no_duplicates(name)
  File "C:\Users\Hp\AppData\Local\Programs\Python\Python310\lib\site-packages\requests\cookies.py", line 413, in _find_no_duplicates
    raise KeyError(f"name={name!r}, domain={domain!r}, path={path!r}")
KeyError: "name='csrftoken', domain=None, path=None"
PS C:\Users\Hp\Downloads\Compressed\New folder (4)\Discounted-Udemy-Course-Enroller-master>

Screenshots
See screenshot of Duce Gui windows
Screenshot 2023-01-26 113232

System Info:

  • OS: windows 11
  • d chrome
  • Version 22