Anon-Exploiter / ine-dl

Python script to download INE courses including labs, exercises, quizzes, slides, and, videos!
MIT License
17 stars 8 forks source link

Feature request: Is it possible to download images in Labs for offline viewing? #4

Closed dreamxps closed 1 year ago

dreamxps commented 2 years ago

While downloading the course, images of labs are not downloaded. When opening the downloaded file it fetch images from website.

For example the following link: https://assets.ine.com/content/labs/vulnerability-labs/manual/1.png

Is it possible to download the images as well for offline viewing?

Anon-Exploiter commented 2 years ago

I intended to keep it that way since most probably these are not going to change any time soon.

If I do download these, I'll have to modify the lab's HTML content and add a relative link to the images downloaded locally which is a pain, if ya want, you can do a PR regarding this feature.

dreamxps commented 2 years ago

Thanks for your reply. I will try

hawbirr commented 2 years ago

hi @Anon-Exploiter, first thank you for your efforts. I was wondering if you could add another argument that allows us to download a list of courses? Instead of downloading a course at a time.

Thank you.

Anon-Exploiter commented 1 year ago

Hi @hawbirr, thanks. A bit challenging to implement this at the time, feel free to send a PR and I'd happily merge it.

Alternatively, you can pick up the course ids you like, add those in a file and then do a bash for loop to download each course id.