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

Extracting Cookies #67

Closed ghost closed 3 years ago

ghost commented 3 years ago

look like learn.acloud.guru changed and extract query from XHR not working as mentioned in the readme.

M1haiR commented 3 years ago

works for me if you grab the cookie from any course page, after you clicked "Start the course". The cookie itself should be a long alphanumeric string (1086 characters in my case), on other pages, or from other XHR elements there are much shorter cookies, these will not work.

However, I was not able to use the range functionality besides the simple x+ use case. Don't get how to use it like x-y for instance.

r0oth3x49 commented 3 years ago

works for me if you grab the cookie from any course page, after you clicked "Start the course". The cookie itself should be a long alphanumeric string (1086 characters in my case), on other pages, or from other XHR elements there are much shorter cookies, these will not work.

However, I was not able to use the range functionality besides the simple x+ use case. Don't get how to use it like x-y for instance.

for now the range mean exact how you are using it. should be ==> x+, The is no implementation for x-y as of yet.

r0oth3x49 commented 3 years ago

look like learn.acloud.guru changed and extract query from XHR not working as mentioned in the readme.

it didn't changed anything. you should be looking for JWT token.