yoonwaiyan / stackskills-dl

Simple Ruby script to download all StackSkills tutorials.
https://yoonwaiyan.github.io/stackskills-dl/
MIT License
59 stars 19 forks source link

Login works but course can't be found #20

Closed InfoSecured closed 7 years ago

InfoSecured commented 7 years ago

Hi,

I'm trying your script which seems like it be very cool, but I get this error when trying to download a course: https://stackskills.com/courses/enrolled/33308

This happens for any course listed within My Courses.

Any thoughts?

yoonwaiyan commented 7 years ago

Can you paste the error message from your screen?

InfoSecured commented 7 years ago

[image: Inline image 1]

Jason S. Lazerus, M.S., GPEN, GCIH, GCFE, GCED, GSEC

On Sun, May 7, 2017 at 11:40 PM, Yoon Wai Yan notifications@github.com wrote:

Can you paste the error message from your screen?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/yoonwaiyan/stackskills-dl/issues/20#issuecomment-299765786, or mute the thread https://github.com/notifications/unsubscribe-auth/AP70A-Q185RDgVs7x8fucHwDDGwzxKHeks5r3o6QgaJpZM4NTbae .

yoonwaiyan commented 7 years ago

I still couldn't see any error message, the image is not displaying.

InfoSecured commented 7 years ago

root@kali:~/stackskills-dl# ruby stackskills_dl.rb --course https://stackskills.com/courses/enrolled/33308 Login Email: jlazerus@infosecured.org Login password: **** Login Successfully. Finding https://stackskills.com/courses/enrolled/33308 from your list of courses Unable to find this course: https://stackskills.com/courses/enrolled/33308 https://stackskills.com/courses/enrolled/33308 from your list of courses.

Jason S. Lazerus, M.S., GPEN, GCIH, GCFE, GCED, GSEC

On Mon, May 8, 2017 at 1:05 AM, Yoon Wai Yan notifications@github.com wrote:

I still couldn't see any error message, the image is not displaying.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/yoonwaiyan/stackskills-dl/issues/20#issuecomment-299773850, or mute the thread https://github.com/notifications/unsubscribe-auth/AP70A3weKIobOYqCtD92cTUVDM6EWp7Fks5r3qKhgaJpZM4NTbae .

yoonwaiyan commented 7 years ago

Just fixed the issue related to get the course listing properly and improved login check. Please update the repo on your local and try again.

InfoSecured commented 7 years ago

Will do shortly. Thanks!

Jason Lazerus M.S., GPEN, GCIH, GCFE, GCED, GSEC InfoSecured

On May 8, 2017, at 10:22 AM, Yoon Wai Yan notifications@github.com wrote:

Just fixed the issue related to get the course listing properly and improved login check. Please update the repo on your local and try again.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/yoonwaiyan/stackskills-dl/issues/20#issuecomment-299880916, or mute the thread https://github.com/notifications/unsubscribe-auth/AP70A0qP5uFdQfO6az7WfxHroDNwmJ7_ks5r3yU1gaJpZM4NTbae .

InfoSecured commented 7 years ago

Hi,

So it looks like that fixed the issue. Is there a way to download multiple videos and keep them within a single folder for that section? See example below.

What I'd like to do is to download all the videos in the section called 'Build your hacking environment' and put that in a folder using that name instead of each video having its own folder.

image

Jason S. Lazerus, M.S., GPEN, GCIH, GCFE, GCED, GSEC

On Mon, May 8, 2017 at 10:22 AM, Yoon Wai Yan notifications@github.com wrote:

Just fixed the issue related to get the course listing properly and improved login check. Please update the repo on your local and try again.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/yoonwaiyan/stackskills-dl/issues/20#issuecomment-299880916, or mute the thread https://github.com/notifications/unsubscribe-auth/AP70A0qP5uFdQfO6az7WfxHroDNwmJ7_ks5r3yU1gaJpZM4NTbae .

yoonwaiyan commented 7 years ago

It's possible and a good idea too since other downloaders are doing it such way, but it'll take some time as it will be a major change in the code. I'll open another issue as a feature request as the reported issue is solved.

InfoSecured commented 7 years ago

Thanks!

Jason Lazerus M.S., GPEN, GCIH, GCFE, GCED, GSEC InfoSecured

On May 9, 2017, at 9:55 AM, Yoon Wai Yan notifications@github.com wrote:

It's possible and a good idea too since other downloaders are doing it such way, but it'll take some time as it will be a major change in the code. I'll open another issue as a feature request as the reported issue is solved.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/yoonwaiyan/stackskills-dl/issues/20#issuecomment-300172071, or mute the thread https://github.com/notifications/unsubscribe-auth/AP70A2gsh1QVub4NKtEpLSfRDVB2rHdtks5r4HBBgaJpZM4NTbae .