Closed rajcspsg closed 5 years ago
Hi, Try the below commands and download again.
>pip install selenium
>pip install beautifulsoup4
I am downloading other course now, once I finished this, I will try to download your course and will let you know whether its a same problem for me or not.
@amitfegade121 see I'm using python3 here. Is that correct?
@rajcspsg - I tried downloading the course https://linuxacademy.com/cp/modules/view/id/327 and it worked for me. Strangely it does not work for you.
Can you share a screenshot of the page (from the browser) when the script halts with an exception ?
Do you have an active LinuxAcademy subscription ?
@rajcspsg : Maybe you have an active schedule for your course? Had the same issue. Then I tried deleting my schedule (you can do this in "manage this schedule" menu) and everything went fine.
@thomas-wolf I don't know what is the issue with my mac. I created fedora VM and it worked there. I'm closing this issue.
$ sudo python3 driver.py user_id password https://linuxacademy.com/cp/modules/view/id/327 Requesting download of https://linuxacademy.com/cp/modules/view/id/327 Darwin Sleeping for 15 seconds.. Attempting to login.. Login successful... Getting lesson links... Traceback (most recent call last): File "driver.py", line 88, in
title = parsed_html.find('span', attrs={'class', 'course-title'}).text
AttributeError: 'NoneType' object has no attribute 'text'