TRoboto / datacamp-downloader

Download your completed courses on Datacamp easily!
MIT License
178 stars 52 forks source link

AttributeError: 'NoneType' object has no attribute 'group' #43

Closed NeferTerry closed 2 years ago

NeferTerry commented 2 years ago

Hi , Upon login with token I received this error:

Please wait /AttributeError: 'NoneType' object has no attribute 'group'

During handling of the above exception, another exception occurred:

cloudscraper.exceptions.CloudflareIUAMError: Cloudflare IUAM possibility malformed, issue extracing delay value.

I believe that this is because my subscription is part of an academic group not an individual subscription. Upon trying to login with username and password it gives a different message saying that it can't login. Is there any solution to this? Thank you in advance and Great Work!

TRoboto commented 2 years ago

I believe you are using an old version of the tool since cloudscraper is no longer a dependency. Please update the tool to v3.1 using:

pip install --upgrade datacamp-downloader
NeferTerry commented 2 years ago

Worked just fine. Thank you.