Bash/Python Script: A script to download full course from codewithmosh.com, given one has the valid login credentials
1 | 2 | 3 |
---|---|---|
ReactJS | NodeJS | AngularJS: Beginner to Pro |
Redux in Angular | Angular4 Crash | JS: Basics |
JS: OOPS | Complete Python | Python Developers |
SQL | C# Basics | C# Intermediate |
C# Advanced | C# Xamarin Native Apps | The Complete ASP.NET MVC 5 Course |
C# Unit test | Clean Coding and Refactoring | Build a Real-world App with ASP.NET Core 1.0+ and Angular 2+ |
- Help those who want to avoid themselves from 'clicks-and-saves'
- To share a mixed-cum-messed-up learning experience (Python, JS, Shell Script etc)
- Would try include a flow graph of events and Progress
- Include as many Tutorials as possible
- Implemented using Scraping Module in Python and Bash Scripts
- Download Playlist for a specific topic
- Download all Playlists at once (only mentioned Topics)
sudo apt update
sudo apt install python-pip
pip --version
sudo pip install beautifulsoup4
sudo pip install lxml
- Clone the Repository and open ./core
- Open the following files
- Change the login credentials
- USERNAME (email)
- PASSWORD
- SCHOOL_ID (A numerical value found in your URL as you login)
Sample URL: "https://sso.teachable.com/secure/121212/users/sign_in?clean_login=true&reset_purchase_session=1" Here the 121212 represents your SCHOOL_ID
- Open Topic_list.url
- Copy the URL of the desired topic (here NodeJS) from Topic_list.url
- Run
chmod 777 ./playlist_downloader.sh
playlist_downloaded.sh <topic_url> <topic_name>
- A new file named "<topic_name>.txt" will be generated
- Make a folder and copy the curl_script.sh and <topic_name>.txt to it
- Run
chmod 777 ./curl_script.sh
./curl_script.sh <topic_name>.txt
- This will start the download
- Run
chmod 777 ./full_playlist_downloader.sh
./full_playlist_downloader.sh Topic_list.url
-
New files named "<topic_name>.txt" will be generated. These files will have the content urls for download.
-
For each file, that you want the playlist to download, make a folder and copy the curl_script.sh and <topic_name>.txt to it
-
Run
chmod 777 ./curl_script.sh
./curl_script.sh <topic_name>.txt
- This will start the download
AboutTheFiles.md contains the details about the files used in this module.
- Want to contribute and be a part of this small project. Check the simplest contributing guidelines here
- Contributions don't have to be very special. From 'simple typos' to 'serious bugs' all kinds of contributions are welcome! 😄
Thanks! ❤️