r0oth3x49 / acloud-dl

A cross-platform python based utility to download courses from acloud.guru for personal offline use.
MIT License
350 stars 141 forks source link

Errors downloading HTML files #92

Closed ankenyr closed 2 years ago

ankenyr commented 2 years ago

This seems to only affect the html files of courses.

python3 acloud-dl.py -c cookie.txt -q 1080 -a
[*] : Lecture(s) : (2 of 2)
[*] : Downloading (002 Environment Setup)
[*] : 114.14MB/114.14MB 100.00% |##############################| 9.99MB/s
[+] : Downloaded  (002 Environment Setup)
[*] : Downloading asset(s)
[*] : Downloading (002 Terraform Pre-Compiled Binary.html)
[*] : Asset : '002 Terraform Pre-Compiled Binary.html' (download skipped).
[-] : URLError : either your internet connection is not working or server aborted the request
[*] : Downloading chapter : (2 of 6)
[+] : Chapter (02 Tips and Tricks)
[*] : Found (14) lectures ...

Not sure what logs I can provide here. Is this expected behavior?

TheNamelessSir commented 2 years ago

Same here.

[*] : Asset : '002 Terraform Pre-Compiled Binary.html' (download skipped). [-] : URLError : either your internet connection is not working or server aborted the request

All else is going smoothly, thanks for a great tool!

anggapw commented 2 years ago

So, in my case

[*] : Asset : '004 Ansible Documentation.html' (download skipped). [-] : Exception : 'NoneType' object has no attribute 'strip'

fanuch commented 2 years ago

Have you had a look at what 002 Terraform Pre-Compiled Binary.html is? It's a link to the Terraform documentation -> https://www.terraform.io/downloads

That's why it doesn't work.

I would argue this isn't part of the course content so you can safely ignore the error.

r0oth3x49 commented 2 years ago

sorry for the late response. hope the issue is explained by @fanuch if not you can create a new issue closing this one