r0oth3x49 / acloud-dl

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

Syntax error from windows #30

Closed neoluu closed 4 years ago

neoluu commented 4 years ago

Hi,

Running from windows 10 and haved installed requirements. Get the following when trying to execute.

PS C:\temp\acloud-dl-master> python acloud-dl.py -c cookie.txt Traceback (most recent call last): File "acloud-dl.py", line 7, in import acloud File "C:\temp\acloud-dl-master\acloud__init__.py", line 32, in from ._acloud import courses File "C:\temp\acloud-dl-master\acloud_acloud.py", line 26, in from ._internal import InternCloudGuruCourses as CloudGuru File "C:\temp\acloud-dl-master\acloud_internal.py", line 30, in from ._extract import CloudGuru File "C:\temp\acloud-dl-master\acloud_extract.py", line 297 subtitle_url = f"https://acloudguru-subtitles-production.s3.amazonaws.com/{cid.group() }.vtt"

 ^

SyntaxError: invalid syntax

Thanks

neoluu commented 4 years ago

Thanks. that worked.

Do you know how to can avoid this? want to let it run overnight?

[*] : Course 'AWS Certified Developer - Associate 2017'. [-] : Authorization error : it seems your authorization token is expired. [i] : Login again & copy Request headers for a single request to file..

neoluu commented 4 years ago

Figured out the issue. I will open a new issue for tracking purpose. Thanks again

yecine06 commented 4 years ago

I have the same issue

how did you solve it ?