Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add option to ONLY download the source code (no videos) for all courses #8

Closed
connecteev opened this issue Jun 26, 2023 · 0 comments
Closed

Comments

@connecteev
Copy link

After fixing #5 to also download source code of the course (if available), could we add another option to ccdown to ONLY download the source code (no videos) for all courses, using the same folder structure?

The reason for this is I have already downloaded all 136 courses under a subject, like https://codecourse.com/subjects/php
but they don't contain the source code. I would like to ONLY download the source code for php, laravel, etc courses under a subject, and merge it with the video files already downloaded. If they were contained in the same folder name, like 256-Build a Distraction Dashboard, it would be easier to merge the 2 folders together manually.

ccdown
✔ Do you want all courses? … no
✔ Choose "Y" if you want to search for a course otherwise choose "N" if you have a link for download … no
✔ Enter url for download. … https://codecourse.com/subjects/laravel-livewire
✔ Choose "Y" if you want to include the source code (if available), choose "N" if you don't want to include source code, choose 'C' if you ONLY want to download the source code ... code

Typing 'C' could autocomplete to 'code' and only download the source code for each course on the selection list. The folder structure sould be the same, and contain the source code files, like this:

  • 238-Build a Podcast App/podcast.zip
  • 256-Build a Distraction Dashboard/ distract.zip
  • and so on
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants