debakarr / 365datascience_downloader

Simple course downloader for 365datascience.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

365datascience_downloader

Simple course downloader for 365datascience.com

Pre-Requisite

  1. Install ffmpeg
  2. Install Python 3.8+

Usage

Get authorization token and policy key to access API.

  1. Open any course video. If it's prompt you to sign-in, then do so.
  2. Open developer tool in browser and go to the Network tab.
  3. Reload the page (CTRL + R).
  4. Search for cookie-domain:.365datascience.com cookie-name:accessToken or cookie-domain:.365datascience.com cookie-name:refreshToken -> Go to Cookies tab -> Copy the accessToken or refreshToken (I would suggest copy the refreshToken) -> Paste in input.json in authorization_token.

  1. Search for edge.api.brightcove.com -> Go to Headers -> Copy policy-key-raw -> Paste in input.json in policy_key.

Downloading a course

Once you have pasted authorization_token and policy_key, you can update the course url in input.json in course_url. The final input.json may look something like this:

{
    "course_url": "https://learn.365datascience.com/courses/preview/intro-to-data-and-data-science/",
    "authorization_token": "<some authentication token>",
    "policy_key": "<some policy key>",
    "quality": "1080p"
}

Download single course

  1. Create Python virtual environment and activate it.
python -m venv .env
.env/Script/activate

NOTE: How to activate virtual environment might vary based on OS. Check official documentation.

  1. Install dependencies: pip install -r requirements.txt
  2. Run the course download script: python src/download_single_course.py
  3. Once over you will find the course in your downlods folder.
Download folder for "Introduction to Data and Data Science" course:
πŸ“¦365DataScience
 β”— πŸ“‚Introduction to Data and Data Science
 ┃ ┣ πŸ“‚1 - The Different Data Science Fields
 ┃ ┃ ┣ πŸ“œ1 - Course Introduction.mp4
 ┃ ┃ ┣ πŸ“œ10 - An Overview of our Data Science Infographic.mp4
 ┃ ┃ ┣ πŸ“œ2 - Why are there so many business and data science buzzwords.mp4
 ┃ ┃ ┣ πŸ“œ4 - Analysis vs Analytics.mp4
 ┃ ┃ ┣ πŸ“œ6 - Intro to Business Analytics Data Analytics and Data Science.mp4
 ┃ ┃ β”— πŸ“œ8 - Adding Business Intelligence BI Machine Learning ML and Artificial Intelligence AI to the picture.mp4
 ┃ ┣ πŸ“‚2 - The Relationship between Different Data Science Fields
 ┃ ┃ β”— πŸ“œ1 - When are Traditional data Big Data BI Traditional Data Science and ML applied.mp4
 ┃ ┣ πŸ“‚3 - What is the Purpose of each Data Science field
 ┃ ┃ β”— πŸ“œ1 - Why do we Need each of these Disciplines.mp4
 ┃ ┣ πŸ“‚4 - Common Data Science Techniques
 ┃ ┃ ┣ πŸ“œ1 - Traditional Data Techniques.mp4
 ┃ ┃ ┣ πŸ“œ10 - Traditional Methods Reallife Examples.mp4
 ┃ ┃ ┣ πŸ“œ11 - Machine Learning ML Techniques.mp4
 ┃ ┃ ┣ πŸ“œ12 - Machine Learning ML Types of Machine Learning.mp4
 ┃ ┃ ┣ πŸ“œ14 - Machine Learning ML Reallife Examples.mp4
 ┃ ┃ ┣ πŸ“œ3 - Traditional Data Reallife Examples.mp4
 ┃ ┃ ┣ πŸ“œ4 - Big Data Techniques.mp4
 ┃ ┃ ┣ πŸ“œ5 - Big Data Reallife Examples.mp4
 ┃ ┃ ┣ πŸ“œ6 - Business Intelligence BI Techniques.mp4
 ┃ ┃ ┣ πŸ“œ8 - Business Intelligence BI Reallife Examples.mp4
 ┃ ┃ β”— πŸ“œ9 - Traditional Methods Techniques.mp4
 ┃ ┣ πŸ“‚5 - Common Data Science Tools
 ┃ ┃ β”— πŸ“œ1 - Programming Languages  Software Employed in Data Science  All the Tools You Need.mp4
 ┃ ┣ πŸ“‚6 - Data Science Job Positions What do they Involve and What to Look out for
 ┃ ┃ β”— πŸ“œ1 - Data Science Job Positions What do they Involve and What to Look out for.mp4
 ┃ β”— πŸ“‚7 - Dispelling common Misconceptions
 ┃ ┃ β”— πŸ“œ1 - Dispelling Common Misconceptions.mp4

Download all course

  1. Create virtual environment, activate it and install all dependency. Follow previous section for detailed step.
  2. Run the course download script: python src/download_all_course.py

TODO

  • Download subtitles
  • Download all course resource
  • Download all course
  • Add Google colab notebook

About

Simple course downloader for 365datascience.com

License:GNU General Public License v3.0


Languages

Language:Python 100.0%